Package org.ggp.base.util.statemachine.implementation.prover

Examples of org.ggp.base.util.statemachine.implementation.prover.ProverStateMachine


        }
    }

    @Override
    public StateMachine getInitialStateMachine() {
        return new ProverStateMachine();
    }
View Full Code Here


      // of roles in each game should be the same, and the number of facts
        // that are true in the initial state should be the same. There could
        // be more thorough verification here, like looking at the number of
        // legal joint moves in the first state, or simulating entire matches,
        // but that would be expensive.
      ProverStateMachine pNormal = new ProverStateMachine();
      ProverStateMachine pScrambled = new ProverStateMachine();
      pNormal.initialize(game.getRules());
      pScrambled.initialize(theScrambledRules);
      assertEquals(gameKey, pNormal.getRoles().size(), pScrambled.getRoles().size());
      assertEquals(gameKey, pNormal.getInitialState().getContents().size(), pScrambled.getInitialState().getContents().size());
      }
    }
View Full Code Here

    // Human gamer does no special cleanup when the match ends abruptly.
  }

  @Override
  public StateMachine getInitialStateMachine() {
    return new CachedStateMachine(new ProverStateMachine());
  }
View Full Code Here

    return selection;
  }

  @Override
  public StateMachine getInitialStateMachine() {
    return new CachedStateMachine(new ProverStateMachine());
  }
View Full Code Here

TOP

Related Classes of org.ggp.base.util.statemachine.implementation.prover.ProverStateMachine

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.