Package jadex.bdiv3x.runtime
Interface IBeliefbase
-
- All Superinterfaces:
IElement
- All Known Implementing Classes:
BeliefbaseWrapper
,RBeliefbase
public interface IBeliefbase extends IElement
The beliefbase contains the beliefs and beliefsets of an agent or capability.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
containsBelief(java.lang.String name)
Returnsboolean
containsBeliefSet(java.lang.String name)
ReturnsIBelief
getBelief(java.lang.String name)
Get a belief for a name.java.lang.String[]
getBeliefNames()
Returns the names of all beliefs.IBeliefSet
getBeliefSet(java.lang.String name)
Get a belief set for a name.java.lang.String[]
getBeliefSetNames()
Returns the names of all belief sets.-
Methods inherited from interface jadex.bdiv3x.runtime.IElement
getCount, getId, getModelElement
-
-
-
-
Method Detail
-
getBelief
IBelief getBelief(java.lang.String name)
Get a belief for a name.- Parameters:
name
- The belief name.
-
getBeliefSet
IBeliefSet getBeliefSet(java.lang.String name)
Get a belief set for a name.- Parameters:
name
- The belief set name.
-
containsBelief
boolean containsBelief(java.lang.String name)
Returns- Parameters:
name
- the name of a belief.- Returns:
true
if contained,false
is not contained, or the specified name refer to a belief set.- See Also:
containsBeliefSet(java.lang.String)
-
containsBeliefSet
boolean containsBeliefSet(java.lang.String name)
Returns- Parameters:
name
- the name of a belief set.- Returns:
true
if contained,false
is not contained, or the specified name refer to a belief.- See Also:
containsBelief(java.lang.String)
-
getBeliefNames
java.lang.String[] getBeliefNames()
Returns the names of all beliefs.- Returns:
- the names of all beliefs.
-
getBeliefSetNames
java.lang.String[] getBeliefSetNames()
Returns the names of all belief sets.- Returns:
- the names of all belief sets.
-
-