public class BlackboardCreator extends Object
Blackboard
. Therefore you can add information for the blackboard
with the methods of this class and get a Blackboard containing all these information
with createBlackboard()
Constructor and Description |
---|
BlackboardCreator() |
Modifier and Type | Method and Description |
---|---|
Blackboard |
createBlackboard()
A blackboard with all information provided via this class.
|
void |
setBranches(Set<SeffBranch> branches)
Sets the Branches for the
Blackboard . |
void |
setExternalCalls(Set<ExternalCallParameter> externalCalls)
The ExternalCallParameter for the
Blackboard . |
void |
setFitnessFunction(EvaluableExpressionFitnessFunction fitnessFunction)
The
EvaluableExpressionFitnessFunction for the Blackboard . |
void |
setLoops(Set<SeffLoop> loops)
Sets the SeffLoops for the
Blackboard . |
void |
setPcmMappings(PcmBeagleMappings pcmMappings)
Sets the
PcmBeagleMappings for the Blackboard to create. |
void |
setProjectInformation(ProjectInformation projectInformation)
Sets the
ProjectInformation for the Blackboard . |
void |
setRdias(Set<ResourceDemandingInternalAction> rdias)
Sets the ResourceDemandingInternalActions for the
Blackboard . |
public Blackboard createBlackboard()
Blackboard
instance with all information provided via this
class.public void setPcmMappings(PcmBeagleMappings pcmMappings)
PcmBeagleMappings
for the Blackboard
to create.pcmMappings
- the PcmBeagleMappings
for the Blackboard
to
create. May not be null
.public void setRdias(Set<ResourceDemandingInternalAction> rdias)
Blackboard
.rdias
- the ResourceDemandingInternalActions for the Blackboard
. May not be
null
.public void setBranches(Set<SeffBranch> branches)
Blackboard
.branches
- the Branches for the Blackboard
. May
not be null
.public void setLoops(Set<SeffLoop> loops)
Blackboard
.loops
- the SeffLoops for the Blackboard
. May
not be null
.public void setExternalCalls(Set<ExternalCallParameter> externalCalls)
Blackboard
.externalCalls
- the ExternalCallParameter
for the Blackboard
. May not be null
.public void setFitnessFunction(EvaluableExpressionFitnessFunction fitnessFunction)
EvaluableExpressionFitnessFunction
for the Blackboard
.fitnessFunction
- The EvaluableExpressionFitnessFunction
for the
Blackboard
. May not be null
.public void setProjectInformation(ProjectInformation projectInformation)
ProjectInformation
for the Blackboard
.projectInformation
- the ProjectInformation
for the Blackboard
. May not be null
. .