Package org.ggp.base.util.statemachine

Examples of org.ggp.base.util.statemachine.Role


          continue;

      GdlRelation relation = (GdlRelation) proposition.getName();
      if (relation.getName().getValue().equals("legal")) {
        GdlConstant name = (GdlConstant) relation.get(0);
        Role r = new Role(name);
        if (!legalPropositions.containsKey(r)) {
          legalPropositions.put(r, new HashSet<Proposition>());
        }
        legalPropositions.get(r).add(proposition);
      }
View Full Code Here


  {
    List<Role> roles = new ArrayList<Role>();
    for (GdlSentence result : results)
    {
      GdlConstant name = (GdlConstant) result.get(0);
      roles.add(new Role(name));
    }

    return roles;
  }
View Full Code Here

TOP

Related Classes of org.ggp.base.util.statemachine.Role

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.