nenok
Class LocalKB
java.lang.Object
nenok.Knowledgebase
nenok.LocalKB
- All Implemented Interfaces:
- Serializable
public class LocalKB
- extends Knowledgebase
Knowledgebase subclass for local valuations.
- Version:
- $LastChangedRevision: 550 $
$LastChangedDate: 2008-03-26 14:14:27 +0100 (Mi, 26 Mrz 2008) $
- Author:
- Marc Pouly
- See Also:
- Serialized Form
LocalKB
protected LocalKB(Valuation[] vals,
String name)
- Constructor:
getValuations
public Valuation[] getValuations()
- Specified by:
getValuations
in class Knowledgebase
- Returns:
- The set of valuations that belong to this knowledgebase.
- See Also:
Knowledgebase.getValuations()
toArray
public Labeled[] toArray()
- Specified by:
toArray
in class Knowledgebase
- Returns:
- The content of this knowledgebase as an array of transmissibles.
- See Also:
Knowledgebase.toArray()
getDomain
public Domain getDomain()
- Specified by:
getDomain
in class Knowledgebase
- Returns:
- The total domain of this knowledgebase.
- See Also:
Knowledgebase.getDomain()
getType
public Class getType()
- Specified by:
getType
in class Knowledgebase
- Returns:
- The type of valuations that is contained in this knowledgebase.
- See Also:
Knowledgebase.getType()
size
public int size()
- Specified by:
size
in class Knowledgebase
- Returns:
- The size of this knowledgebase.
- See Also:
Knowledgebase.size()