de.cesr.more.rs.util
Class MRsSchedule

java.lang.Object
  extended by de.cesr.more.rs.util.MRsSchedule
All Implemented Interfaces:
MoreSchedule

public class MRsSchedule
extends Object
implements MoreSchedule

MORe

Date:
17.11.2010

Constructor Summary
MRsSchedule(repast.simphony.engine.schedule.ISchedule schedule)
           
 
Method Summary
 double getCurrentTick()
           
 String getScheduleInfo()
          Returns a string containing all scheduled actions including their schedule parameters.
 void removeAction(MoreAction action)
          TODO error handling
 void schedule(MScheduleParameters params, MoreAction action)
          TODO test
 void tidyUp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MRsSchedule

public MRsSchedule(repast.simphony.engine.schedule.ISchedule schedule)
Method Detail

tidyUp

public void tidyUp()

removeAction

public void removeAction(MoreAction action)
TODO error handling

Specified by:
removeAction in interface MoreSchedule
See Also:
MoreSchedule.removeAction(de.cesr.more.measures.util.MoreAction)

schedule

public void schedule(MScheduleParameters params,
                     MoreAction action)
TODO test

Specified by:
schedule in interface MoreSchedule
See Also:
MoreSchedule.schedule(de.cesr.more.measures.util.MScheduleParameters, de.cesr.more.measures.util.MoreAction)

getScheduleInfo

public String getScheduleInfo()
Returns a string containing all scheduled actions including their schedule parameters.

Specified by:
getScheduleInfo in interface MoreSchedule
Returns:
information about scheduled actions

getCurrentTick

public double getCurrentTick()
Specified by:
getCurrentTick in interface MoreSchedule
See Also:
MoreSchedule.getCurrentTick()