de.cesr.more.basic
Class MManager

java.lang.Object
  extended by de.cesr.more.basic.MManager

public class MManager
extends Object

MORe Manager

Date:
23.12.2010

Field Summary
protected static NumberFormat floatPointFormat
          NumberFormat to format floating point numbers
protected static NumberFormat integerFormat
          NumberFormat to format integer numbers
protected static de.cesr.uranus.core.UranusRandomService randomService
           
protected static repast.simphony.context.Context<Object> rootContext
           
protected static MoreSchedule schedule
           
 
Constructor Summary
MManager()
           
 
Method Summary
static NumberFormat getFloatPointFormat()
          Mainly used for logging purposes.
static NumberFormat getIntegerFormat()
          Mainly used for logging purposes.
static repast.simphony.context.Context<Object> getRootContext()
           
static MoreSchedule getSchedule()
          Used for instance to schedule network measure calculations.
static de.cesr.uranus.core.UranusRandomService getURandomService()
          Return the random manager that is used for random processes.
static void init()
          Initialised parameter framework.
static boolean isScheduleSet()
           
static void reset()
           
static void setFloatPointFormat(NumberFormat format)
           
static void setIntegerFormat(NumberFormat format)
           
static void setRootContext(repast.simphony.context.Context<Object> rootContext)
           
static void setSchedule(MoreSchedule schedule)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

schedule

protected static MoreSchedule schedule

rootContext

protected static repast.simphony.context.Context<Object> rootContext

randomService

protected static de.cesr.uranus.core.UranusRandomService randomService

integerFormat

protected static NumberFormat integerFormat
NumberFormat to format integer numbers


floatPointFormat

protected static NumberFormat floatPointFormat
NumberFormat to format floating point numbers

Constructor Detail

MManager

public MManager()
Method Detail

getRootContext

public static repast.simphony.context.Context<Object> getRootContext()
Returns:
the rootContext

setRootContext

public static void setRootContext(repast.simphony.context.Context<Object> rootContext)
Parameters:
rootContext - the rootContext to set

init

public static void init()
Initialised parameter framework.


setFloatPointFormat

public static void setFloatPointFormat(NumberFormat format)
Parameters:
format -

setIntegerFormat

public static void setIntegerFormat(NumberFormat format)
Parameters:
the - common format for integers

getFloatPointFormat

public static NumberFormat getFloatPointFormat()
Mainly used for logging purposes.

Returns:
common format for float numbers

getIntegerFormat

public static NumberFormat getIntegerFormat()
Mainly used for logging purposes.

Returns:
common format for integers

setSchedule

public static void setSchedule(MoreSchedule schedule)
Parameters:
schedule - the schedule to set

getSchedule

public static MoreSchedule getSchedule()
Used for instance to schedule network measure calculations.

Returns:
the schedule

isScheduleSet

public static boolean isScheduleSet()
Returns:
true if the schedule has been set

getURandomService

public static de.cesr.uranus.core.UranusRandomService getURandomService()
Return the random manager that is used for random processes.

Returns:
the random manager

reset

public static void reset()