Package javaff.data

Examples of javaff.data.GroundCondition


    {
    Set newlit = new HashSet(literals.size());
    Iterator it = literals.iterator();
    while (it.hasNext())
    {
      GroundCondition c = (GroundCondition) it.next();
      if (! (c instanceof TrueCondition)) newlit.add(c.staticifyCondition(fValues));
    }
    literals = newlit;
    if (literals.isEmpty()) return TrueCondition.getInstance();
    else return this;
    }
View Full Code Here


  public boolean isTrue(State s)
  {
    Iterator cit = literals.iterator();
    while (cit.hasNext())
    {
      GroundCondition c = (GroundCondition) cit.next();
      if (!c.isTrue(s)) return false;
    }
    return true;
  }
View Full Code Here

  {
    Set rSet = new HashSet();
    Iterator eit = literals.iterator();
    while (eit.hasNext())
    {
      GroundCondition e = (GroundCondition) eit.next();
      rSet.addAll(e.getConditionalPropositions());
    }
    return rSet;
  }
View Full Code Here

  {
    Set rSet = new HashSet();
    Iterator eit = literals.iterator();
    while (eit.hasNext())
    {
      GroundCondition e = (GroundCondition) eit.next();
      rSet.addAll(e.getComparators());
    }
    return rSet;
  }
View Full Code Here

TOP

Related Classes of javaff.data.GroundCondition

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.