Jadex 0.941

jadex.model
Interface IMBeliefSet

All Superinterfaces:
IMElement, IMReferenceableElement, IMTypedElementSet

public interface IMBeliefSet
extends IMTypedElementSet

A belief set holds a collection of facts.


Method Summary
 IMExpression createDefaultFact(String expression)
          Create a default fact.
 IMExpression createDefaultFactsExpression(String expression, String mode)
          Create the default facts expression.
 void deleteDefaultFact(IMExpression fact)
          Delete a default fact.
 void deleteDefaultFactsExpression()
          Delete the default facts expression.
 IMExpression[] getDefaultFacts()
          Get the default facts.
 IMExpression getDefaultFactsExpression()
          Get the default facts, when represented as a single expression (returning a collection).
 
Methods inherited from interface jadex.model.IMTypedElementSet
getClazz, getUpdateRate, isTransient, setClazz, setTransient, setUpdateRate
 
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
 

Method Detail

getDefaultFacts

public IMExpression[] getDefaultFacts()
Get the default facts.

Returns:
The default facts.

createDefaultFact

public IMExpression createDefaultFact(String expression)
Create a default fact.

Parameters:
expression - The fact expression string.
Returns:
the newly created fact expression.

deleteDefaultFact

public void deleteDefaultFact(IMExpression fact)
Delete a default fact.

Parameters:
fact - The fact expression.

getDefaultFactsExpression

public IMExpression getDefaultFactsExpression()
Get the default facts, when represented as a single expression (returning a collection).

Returns:
The default facts.

createDefaultFactsExpression

public IMExpression createDefaultFactsExpression(String expression,
                                                 String mode)
Create the default facts expression.

Parameters:
expression - The facts expression string.
mode - The evaluation mode.
Returns:
the newly created facts expression.

deleteDefaultFactsExpression

public void deleteDefaultFactsExpression()
Delete the default facts expression.


Jadex 0.941

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.