.. java:import:: java.io BufferedReader .. java:import:: java.io IOException .. java:import:: java.io InputStream .. java:import:: java.io OutputStream .. java:import:: java.io Serializable .. java:import:: java.util ArrayList .. java:import:: java.util HashMap .. java:import:: java.util LinkedList .. java:import:: java.util List .. java:import:: java.util Map .. java:import:: java.util Random .. java:import:: edu.cwru.sepia.action Action .. java:import:: edu.cwru.sepia.action ActionFeedback .. java:import:: edu.cwru.sepia.action ActionResult .. java:import:: edu.cwru.sepia.environment.model.history BirthLog .. java:import:: edu.cwru.sepia.environment.model.history DeathLog .. java:import:: edu.cwru.sepia.environment.model.history History .. java:import:: edu.cwru.sepia.environment.model.history History.HistoryView .. java:import:: edu.cwru.sepia.environment.model.state ResourceNode .. java:import:: edu.cwru.sepia.environment.model.state ResourceType .. java:import:: edu.cwru.sepia.environment.model.state State.StateView .. java:import:: edu.cwru.sepia.environment.model.state Template.TemplateView .. java:import:: edu.cwru.sepia.environment.model.state Unit.UnitView .. java:import:: edu.cwru.sepia.util DistanceMetrics ScriptedGoalAgent.RelevantStateView =================================== .. java:package:: edu.cwru.sepia.agent :noindex: .. java:type:: static class RelevantStateView :outertype: ScriptedGoalAgent A simple structure storing relevant details of the state view that can be modified to take other actions into account :author: The Condor Fields ------ myUnitIDs ^^^^^^^^^ .. java:field:: List myUnitIDs :outertype: ScriptedGoalAgent.RelevantStateView nfoodremaining ^^^^^^^^^^^^^^ .. java:field:: public int nfoodremaining :outertype: ScriptedGoalAgent.RelevantStateView ngold ^^^^^ .. java:field:: public int ngold :outertype: ScriptedGoalAgent.RelevantStateView nwood ^^^^^ .. java:field:: public int nwood :outertype: ScriptedGoalAgent.RelevantStateView spacesoccupiedbynewbuildings ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public List spacesoccupiedbynewbuildings :outertype: ScriptedGoalAgent.RelevantStateView Constructors ------------ RelevantStateView ^^^^^^^^^^^^^^^^^ .. java:constructor:: public RelevantStateView(int playernum, StateView state) :outertype: ScriptedGoalAgent.RelevantStateView