Package cs227b.teamIago.resolver

Examples of cs227b.teamIago.resolver.ExpList


      return null;
    }
  }
 
  public int GetGoalValue(Expression player) {
    ExpList roleVar = new ExpList();
    roleVar.add(player);
    roleVar.add(vX);
    Expression e;
    try {
      e = theoryObj.findx(vX,new Predicate(aGoal,roleVar));
    } catch (InterruptedException ie) {
      wasInterrupted = true;
View Full Code Here


  }
 
//   Sets the game into its initial state
  public void SimulateStart() {
    theoryObj.clearState();
    ExpList startState = CalcInitState();   
    theoryObj.setState(startState);
  }
View Full Code Here

  // specified with the "does" predicate,
  //    ie, (does white noop), (does black (mark 1 1 O))
  // shifts to the next game step according to the axioms.
  public void SimulateStep(ExpList moves) {
    theoryObj.add(moves);
    ExpList newState = CalcNextState();
    theoryObj.setState(newState);
  }
View Full Code Here

    theoryObj.setState(newState);
  }
 
  // parses the file specified by the parameter into the theory object
  public void ParseFileIntoTheory(String fileName){
    ExpList expList = Parser.parseFile(fileName);
    theoryObj.add(expList);
    theoryObj.buildVolatile();
  }
View Full Code Here

    theoryObj.add(expList);
    theoryObj.buildVolatile();
  }
 
  public void ParseDescIntoTheory(String gameDescription){
    ExpList expList = Parser.parseDesc(gameDescription);
    theoryObj.add(expList);
    theoryObj.buildVolatile();
  }
View Full Code Here

TOP

Related Classes of cs227b.teamIago.resolver.ExpList

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.