|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The base model element for all goal types.
Field Summary | |
static String |
EXCLUDE_NEVER
Never exclude plan candidates from apl. |
static String |
EXCLUDE_WHEN_FAILED
Exclude failed plan candidates from apl. |
static String |
EXCLUDE_WHEN_SUCCEEDED
Exclude succeeded plan candidates from apl. |
static String |
EXCLUDE_WHEN_TRIED
Exclude tried plan candidates from apl. |
Method Summary | |
IMCondition |
createContextCondition(String expression)
Create a context condition for the goal. |
IMCondition |
createCreationCondition(String expression)
Create a creation condition for the goal. |
IMDeliberation |
createDeliberation(int cardinality)
Create new the deliberation properties for the goal. |
IMCondition |
createDropCondition(String expression)
Create a drop condition for the goal. |
IMUnique |
createUnique()
Create new the uniqueness properties for the goal. |
void |
deleteContextCondition()
Delete the context condition of the goal. |
void |
deleteCreationCondition()
Delete the creation condition of the goal. |
void |
deleteDeliberation()
Delete the deliberation properties of the goal. |
void |
deleteDropCondition()
Delete the drop condition of the goal. |
void |
deleteUnique()
Delete the uniqueness properties of the goal. |
IMCondition |
getContextCondition()
Get the context condition of the goal. |
IMCondition |
getCreationCondition()
Get the creation condition of the goal. |
IMDeliberation |
getDeliberation()
Get the deliberation properties of the goal (if any). |
IMCondition |
getDropCondition()
Get the drop condition of the goal. |
String |
getExcludeMode()
Get the exclude mode. |
IMGoalEvent |
getGoalEvent()
Get the goal event. |
IMMetaGoal |
getMetaGoal()
Get the meta-level goal if any. |
IMParameter[] |
getRelevantParameters()
Get the parameters which are relevant for comparing goals. |
IMParameterSet[] |
getRelevantParameterSets()
Get the parameter sets which are relevant for comparing goals. |
long |
getRetryDelay()
Get the retry delay. |
IMUnique |
getUnique()
Get the uniqueness properties of the goal (if any). |
boolean |
isMetaLevelReasoning()
Get the meta-level reasoning flag. |
boolean |
isPostToAll()
Get the post-to-all flag. |
boolean |
isRandomSelection()
Get the random selection flag. |
boolean |
isRetry()
Get the retry flag. |
void |
setExcludeMode(String exclude)
Set the exclude mode. |
void |
setMetaGoal(IMMetaGoal metagoal)
Set the meta-level goal if any. |
void |
setMetaLevelReasoning(boolean mlreasoning)
Set the meta-level lreasoning flag. |
void |
setPostToAll(boolean posttoall)
Set the post-to-all flag. |
void |
setRandomSelection(boolean randomselection)
Set the random selection flag. |
void |
setRetry(boolean retry)
Set the retry flag. |
void |
setRetryDelay(long retrydelay)
Set the retry delay flag. |
Methods inherited from interface jadex.model.IMParameterElement |
createParameter, createParameterSet, deleteParameter, deleteParameterSet, getBindingParameters, getParameter, getParameters, getParameterSet, getParameterSets |
Methods inherited from interface jadex.model.IMReferenceableElement |
createAssignTo, deleteAssignTo, getAssignToElements, getAssignTos, isExported, setExported |
Methods inherited from interface jadex.model.IMElement |
check, getChildren, getDescription, getEncodableRepresentation, getExpressionParameters, getName, getOwner, getReport, getScope, setDescription, setName |
Field Detail |
public static final String EXCLUDE_NEVER
public static final String EXCLUDE_WHEN_FAILED
public static final String EXCLUDE_WHEN_SUCCEEDED
public static final String EXCLUDE_WHEN_TRIED
Method Detail |
public IMCondition getCreationCondition()
public IMCondition createCreationCondition(String expression)
expression
- The expression string.
public void deleteCreationCondition()
public IMCondition getContextCondition()
public IMCondition createContextCondition(String expression)
expression
- The expression string.
public void deleteContextCondition()
public IMCondition getDropCondition()
public IMCondition createDropCondition(String expression)
expression
- The expression string.
public void deleteDropCondition()
public IMUnique getUnique()
public IMUnique createUnique()
public void deleteUnique()
public IMDeliberation getDeliberation()
public IMDeliberation createDeliberation(int cardinality)
cardinality
- The cardinality (i.e. number of concurrently active goals) of this type.
public void deleteDeliberation()
public boolean isRetry()
public void setRetry(boolean retry)
retry
- The flag indicating if this goal should be retried when the first plan fails.public long getRetryDelay()
public void setRetryDelay(long retrydelay)
retrydelay
- The delay between retries of the goal (in milliseconds) or -1 for no delay.public String getExcludeMode()
public void setExcludeMode(String exclude)
exclude
- The mode indicating which plans should be excluded after they have been tried.public boolean isMetaLevelReasoning()
public void setMetaLevelReasoning(boolean mlreasoning)
mlreasoning
- The flag indicating if meta-level reasoning should be used to select plans for this goal.public boolean isRandomSelection()
public void setRandomSelection(boolean randomselection)
randomselection
- The flag indicating if plans should be selected at random or by prominence.public boolean isPostToAll()
public void setPostToAll(boolean posttoall)
posttoall
- The flag indicating if all applicable plans should be executed at once.public IMGoalEvent getGoalEvent()
public IMParameter[] getRelevantParameters()
public IMParameterSet[] getRelevantParameterSets()
public IMMetaGoal getMetaGoal()
public void setMetaGoal(IMMetaGoal metagoal)
metagoal
- The meta-level goal.
|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.