Package javaff.planning

Examples of javaff.planning.STRIPSState


    metric = m;
  }
 
    public STRIPSState getSTRIPSInitialState()
    {
      STRIPSState s = new STRIPSState(actions, initial, goal);
    s.setRPG(new RelaxedPlanningGraph(this));
    return s;
  }
View Full Code Here


    literal = l;
  }

  public void apply(State s)
  {
    STRIPSState ss = (STRIPSState) s;
    ss.removeProposition((Proposition) literal);
  }
View Full Code Here

    name = p;
    }
 
  public boolean isTrue(State s) // returns whether this conditions is true is State S
    {
    STRIPSState ss = (STRIPSState) s;
    return ss.isTrue(this);
  }
View Full Code Here

    return ss.isTrue(this);
  }

  public void apply(State s) // carry out the effects of this on State s
  {
    STRIPSState ss = (STRIPSState) s;
    ss.addProposition(this);
  }
View Full Code Here

TOP

Related Classes of javaff.planning.STRIPSState

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.