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
ParameterSetters.- Author:
- Jerry Vos
-
Method Summary
Modifier and TypeMethodDescriptionvoidadd(ParameterSetter parent, ParameterSetter setter) Adds the givenParameterSetterto be executed.getChildren(ParameterSetter parentSetter) Retrieves theParameterSetters that are direct children of the specified setter.Retrieves the rootParameterSetter, that all other setters are a child of.voidremove(ParameterSetter setter) Removes the givenParameterSetterfrom those to be executedMethods inherited from interface repast.simphony.parameter.ParameterSetter
atEnd, next, reset
-
Method Details
-
add
Adds the givenParameterSetterto be executed.- Parameters:
parent- the parent setter the new setter is a child ofsetter- a parameter setter that will be executed
-
remove
Removes the givenParameterSetterfrom 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 theParameterSetters that are direct children of the specified setter.- Parameters:
parentSetter- the setter whose children to fetch- Returns:
- the direct descendants of the specified setter
-