de.cesr.lara.components.decision
Interface LaraDecisionConfiguration

All Known Implementing Classes:
LDecisionConfiguration

public interface LaraDecisionConfiguration

The LaraDecisionConfiguration is an identifier for certain decision and is passed to LaraAgentComponent.decide(LaraDecisionConfiguration) . It further defines the set of preferences that are relevant for the decision.


Method Summary
 String getId()
           
 Collection<Class<? extends LaraPreference>> getPreferences()
          Provides the preferences that are relevant for this decision
 void setPreferences(Collection<Class<? extends LaraPreference>> preferences)
          Set the preferences that are relevant for this decision
 

Method Detail

getId

String getId()
Returns:
the decision's id

getPreferences

Collection<Class<? extends LaraPreference>> getPreferences()
Provides the preferences that are relevant for this decision

Returns:
relevant preferences

setPreferences

void setPreferences(Collection<Class<? extends LaraPreference>> preferences)
Set the preferences that are relevant for this decision

Parameters:
preferences -