Class StateBundle

java.lang.Object
  extended by StateBundle

public class StateBundle
extends java.lang.Object

Wrapper to hold the logic variables and the control function that get updated at each communication round.

Since:
1.0

Constructor Summary
StateBundle()
           
StateBundle(ILogicVarBundle vars, IControlFunc func)
          constructor with parameters.
StateBundle(StateBundle src)
          copy constructor
 
Method Summary
 IControlFunc getControlFunc()
           
 ILogicVarBundle getVars()
           
 StateBundle setControlFunc(IControlFunc controlFunc)
           
 StateBundle setVars(ILogicVarBundle logicVars)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateBundle

public StateBundle()

StateBundle

public StateBundle(StateBundle src)
copy constructor


StateBundle

public StateBundle(ILogicVarBundle vars,
                   IControlFunc func)
constructor with parameters. Does not copy input parameters, simply points at them instead

Method Detail

getVars

public ILogicVarBundle getVars()

getControlFunc

public IControlFunc getControlFunc()

setVars

public StateBundle setVars(ILogicVarBundle logicVars)
Returns:
this

setControlFunc

public StateBundle setControlFunc(IControlFunc controlFunc)
Returns:
this