Package repast.simphony.engine.graph
Class DefaultGraphScheduleFactory
java.lang.Object
repast.simphony.engine.graph.DefaultGraphScheduleFactory
- All Implemented Interfaces:
IScheduleFactory
ScheduleFactory that produces
DefaultGraphSchedule
s.- Version:
- $Revision: 1.1 $ $Date: 2005/12/21 22:25:34 $
- Author:
- Jerry Vos
-
Constructor Summary
ConstructorDescriptionSynonymous with DefaultGraphScheduleFactory(new DefaultSchedulableaActionFactory()).DefaultGraphScheduleFactory
(ISchedulableActionFactory defaultActionFactory) Constructs this graph schedule factory which will default to producing graphs with the specified action factory. -
Method Summary
Modifier and TypeMethodDescriptionConstructs a DefaultGraphSchedule using the default action factory specified in this class's construction.createSchedule
(ISchedulableActionFactory factory) Creates a schedule using the specified action factoryvoid
setDefaultSchedulableActionFactory
(ISchedulableActionFactory defaultFactory) Sets the default action factory to be used with constructing schedules
-
Constructor Details
-
DefaultGraphScheduleFactory
public DefaultGraphScheduleFactory()Synonymous with DefaultGraphScheduleFactory(new DefaultSchedulableaActionFactory()). -
DefaultGraphScheduleFactory
Constructs this graph schedule factory which will default to producing graphs with the specified action factory.- Parameters:
defaultActionFactory
- the factory the schedule will use to construct actions
-
-
Method Details
-
createSchedule
Creates a schedule using the specified action factory- Specified by:
createSchedule
in interfaceIScheduleFactory
- Parameters:
factory
- the factory to use to construct actions- Returns:
- a schedule that uses the specified factory
-
createSchedule
Constructs a DefaultGraphSchedule using the default action factory specified in this class's construction.- Specified by:
createSchedule
in interfaceIScheduleFactory
- Returns:
- a schedule that uses the default factory
- See Also:
-
setDefaultSchedulableActionFactory
Sets the default action factory to be used with constructing schedules- Specified by:
setDefaultSchedulableActionFactory
in interfaceIScheduleFactory
- Parameters:
defaultFactory
- the default factory to use when constructing schedules- See Also:
-