Class DynCallbackTrackLambda2

java.lang.Object
  extended by DynCallbackTrackLambda2
All Implemented Interfaces:
IDiscreteDynamicsCallback

public class DynCallbackTrackLambda2
extends java.lang.Object
implements IDiscreteDynamicsCallback


Nested Class Summary
static class DynCallbackTrackLambda2.ComposeDataWriters
           
static class DynCallbackTrackLambda2.CountMovingAgents
           
static interface DynCallbackTrackLambda2.IExtraDataWriter
           
static class DynCallbackTrackLambda2.NullDataWriter
           
static class DynCallbackTrackLambda2.TrackAngleWriter
          Careful, this class currently only handles robots that live in two dimensions!!!
 
Constructor Summary
protected DynCallbackTrackLambda2()
           
  DynCallbackTrackLambda2(java.lang.String strFile, ICommStrengthFunc func, int nNumAgents, double lfLambdaPlus, double lfLambdaMinus)
           
 
Method Summary
 DynCallbackTrackLambda2.IExtraDataWriter accessDataWriter()
           
 DynCallbackTrackLambda2.IExtraDataWriter countMovingDataWriter()
           
 void doCallback(ILogicVarBundle vars, double[] arrLfStateCont)
           
 DynCallbackTrackLambda2.IExtraDataWriter percentMovingDataWriter()
           
 void setDataWriter(DynCallbackTrackLambda2.IExtraDataWriter dataWriter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynCallbackTrackLambda2

protected DynCallbackTrackLambda2()

DynCallbackTrackLambda2

public DynCallbackTrackLambda2(java.lang.String strFile,
                               ICommStrengthFunc func,
                               int nNumAgents,
                               double lfLambdaPlus,
                               double lfLambdaMinus)
Method Detail

countMovingDataWriter

public DynCallbackTrackLambda2.IExtraDataWriter countMovingDataWriter()

percentMovingDataWriter

public DynCallbackTrackLambda2.IExtraDataWriter percentMovingDataWriter()

setDataWriter

public void setDataWriter(DynCallbackTrackLambda2.IExtraDataWriter dataWriter)

accessDataWriter

public DynCallbackTrackLambda2.IExtraDataWriter accessDataWriter()

doCallback

public void doCallback(ILogicVarBundle vars,
                       double[] arrLfStateCont)
Specified by:
doCallback in interface IDiscreteDynamicsCallback