edu.umich.soar.hpp
Class HPPScript

java.lang.Object
  extended by edu.umich.soar.hpp.HPPScript

public class HPPScript
extends java.lang.Object

A script is an action sequence that is consistent with a hierarchical-probabilistic plan (HPP).


Constructor Summary
HPPScript(HPPlan plan, java.lang.String agentLocation, java.lang.Integer rngSeed)
          Creates the script given an HPPlan, Soar agent location, and optional random seed
 
Method Summary
 HPPKnowledgeBase getKB()
          Supports read-only access to produced kb
 java.util.Iterator<java.lang.String> getScript()
          Supports read-only access to produced script
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HPPScript

public HPPScript(HPPlan plan,
                 java.lang.String agentLocation,
                 java.lang.Integer rngSeed)
Creates the script given an HPPlan, Soar agent location, and optional random seed

Parameters:
plan - script structure
agentLocation - file-system location of scripter.soar
rngSeed - random seed with which to initialize Soar's RNG, or null to ignore
Method Detail

getKB

public HPPKnowledgeBase getKB()
Supports read-only access to produced kb

Returns:
produced kb

getScript

public java.util.Iterator<java.lang.String> getScript()
Supports read-only access to produced script

Returns:
iterator to action sequence