|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A - the type of agents the preprocessor builder is intended forBO - the type of behavioural options the preprocessor managespublic interface LaraPreprocessorConfigurator<A extends LaraAgent<? super A,BO>,BO extends LaraBehaviouralOption<?,? extends BO>>
This configurator is used to configure a
LaraPreprocessor with
desired preprocessor components.
The BO type parameter indicates which BO classes the pre-processor may
handle. Components BO type need to exactly match that BO type. super BO>
as component BO parameter does not work since A does not
fulfill ? super (? super BO) regarding BO parameter for the component (in
which that would result for the component).
| Method Detail |
|---|
LaraPreprocessorConfigurator<A,BO> clone()
LaraPreprocessors with a different
configuration. I.e. the provided configuration is altered and used to
create a new pre-processor.
<T> T get(LaraDecisionConfiguration dConfiguration,
Class<? super T> type)
T - the general type of the requested componentdConfiguration - The LaraDecisionConfiguration the given component
shall be applied to.type - the general type of the requested component
LaraBOCollector<A,BO> getDefaultBoCollector()
LaraBOCollectorLaraBOPreselector<A,BO> getDefaultBoPreselector()
LaraBOPreselectorLaraBOUtilityUpdater<A,BO> getDefaultBoUtilityUpdater()
LaraBOUtilityUpdaterLaraDecisionModeSelector<A,BO> getDefaultDecisionModeSelector()
LaraDecisionConfigurationLaraPreferenceUpdater<A,BO> getDefaultPreferenceUpdater()
LaraPreferenceUpdater<T extends LaraPreprocessorComp<A,BO>> Map<LaraDecisionConfiguration,T> getMap(Class<? super T> compType)
LaraDecisionConfiguration to
LaraPreprocessorComp as defined by the given component class.
T - the generic type of the agentcompType - the class of component type that is requested
LaraPreprocessor<A,BO> getPreprocessor()
LaraPreprocessor that matches this configuration.
<T extends LaraPreprocessorComp<A,BO>> void set(LaraDecisionConfiguration dConfiguration,
Class<? super T> type,
T value)
T - the generic type of the agentU - the generic type of the requested componentdConfiguration - The LaraDecisionConfiguration the given component
shall be applied to.type - the general type of the requested componentvalue - void setBOAdapter(LaraBOUtilityUpdater<A,BO> boAdapter)
boAdapter -
void setBOAdapter(LaraBOUtilityUpdater<A,BO> boUpdater,
LaraDecisionConfiguration dConfiguration)
null corresponds to
LaraPreprocessorConfigurator#setBOAdapter(LaraBOUtilityUpdaterBuilder)
and sets the default.
boUpdater - dConfiguration - The LaraDecisionConfiguration the given behavioural
options utilityUpdater shall be applied to.void setBOCollector(LaraBOCollector<A,BO> boCollector)
boCollector -
void setBOCollector(LaraBOCollector<A,BO> bOCollector,
LaraDecisionConfiguration dConfiguration)
null corresponds to
setBOCollector(LaraBOCollector) and
sets the default.
bOCollector - dConfiguration - The LaraDecisionConfiguration the given behavioural
options collector shall be applied to.void setBoPreselector(LaraBOPreselector<A,BO> boChecker)
boChecker -
void setBOPreselector(LaraBOPreselector<A,BO> boPreselector,
LaraDecisionConfiguration dConfiguration)
null corresponds to
) and sets the default.
boPreselector - dConfiguration - The LaraDecisionConfiguration the given behavioural
options preselector shall be applied to.void setDecisionModeSelector(LaraDecisionModeSelector<A,BO> decisionModeSelector)
decisionModeSelector -
void setDecisionModeSelector(LaraDecisionModeSelector<A,BO> decisionModeSelector,
LaraDecisionConfiguration dConfiguration)
null corresponds to
) and sets the default.
decisionModeSelector - dConfiguration - The LaraDecisionConfiguration the given mode selector
shall be applied to.void setPreferenceUpdater(LaraPreferenceUpdater<? extends A,BO> prefUpdater)
prefUpdater -
void setPreferenceUpdater(LaraPreferenceUpdater<? extends A,BO> prefUpdater,
LaraDecisionConfiguration dConfiguration)
null corresponds to
setPreferenceUpdater(LaraPreferenceUpdater)
and sets the default.
prefUpdater - dConfiguration - The LaraDecisionConfiguration the given preference
utilityUpdater shall be applied to.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||