Package repast.simphony.parameter
Interface ParameterSweeper
- All Superinterfaces:
ParameterSetter
- All Known Implementing Classes:
OptimizedParameterSweeper
,ParameterTreeSweeper
An interface representing an object that will perform a sweep of a parameter space represented by
a series of
ParameterSetter
s.- Author:
- Jerry Vos
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(ParameterSetter parent, ParameterSetter setter) Adds the givenParameterSetter
to be executed.getChildren
(ParameterSetter parentSetter) Retrieves theParameterSetter
s that are direct children of the specified setter.Retrieves the rootParameterSetter
, that all other setters are a child of.void
remove
(ParameterSetter setter) Removes the givenParameterSetter
from those to be executedMethods inherited from interface repast.simphony.parameter.ParameterSetter
atEnd, next, reset
-
Method Details
-
add
Adds the givenParameterSetter
to be executed.- Parameters:
parent
- the parent setter the new setter is a child ofsetter
- a parameter setter that will be executed
-
remove
Removes the givenParameterSetter
from those to be executed- Parameters:
setter
- a parameter setter to remove
-
getRootParameterSetter
ParameterSetter getRootParameterSetter()Retrieves the rootParameterSetter
, that all other setters are a child of.- Returns:
- the root
ParameterSetter
-
getChildren
Retrieves theParameterSetter
s that are direct children of the specified setter.- Parameters:
parentSetter
- the setter whose children to fetch- Returns:
- the direct descendants of the specified setter
-