Package | Description |
---|---|
gov.sandia.cognition.framework |
Provides the interfaces for the Cognitive Framework.
|
gov.sandia.cognition.framework.lite |
Provides a lightweight implementation of the Cognitive Framework.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ActivatableCogxel
ActivatableCogxel is an interface which defines a cogxel which is
activatable.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultCogxel
The
DefaultCogxel provides a default implementation of the
Cogxel interface that just stores the necessary peices of
information: the SemanticIdentifier and its activation. |
Modifier and Type | Method and Description |
---|---|
Cogxel |
Cogxel.clone()
Clones the Cogxel.
|
Cogxel |
CogxelFactory.createCogxel(SemanticIdentifier identifier)
Creates a new Cogxel for the given CogxelFactory from the given
SemanticIdentifier.
|
Cogxel |
DefaultCogxelFactory.createCogxel(SemanticIdentifier identifier)
Creates a new Cogxel for the given CogxelFactory from the given
SemanticIdentifier.
|
Cogxel |
CogxelState.getCogxel(SemanticIdentifier identifier)
Gets a Cogxel from the state, if it has been previously added.
|
Cogxel |
CogxelState.getOrCreateCogxel(SemanticIdentifier identifier,
CogxelFactory factory)
Attempts to get an existing Cogxel for a given SemanticIdentifier.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Cogxel> |
CogxelState.getCogxels()
Gets the Cogxels that have been previously added to this CogxelState.
|
Modifier and Type | Method and Description |
---|---|
void |
CogxelState.addCogxel(Cogxel cogxel)
Adds a Cogxel to the state, overriding the existing Cogxel, if it
exists.
|
boolean |
CogxelState.removeCogxel(Cogxel cogxel)
Removes a Cogxel from the CogxelState, if it exists.
|
Modifier and Type | Class and Description |
---|---|
class |
BooleanActivatableCogxel
BooleanActivatableCogxel extends the DefaultCogxel class to add an "activated" flag.
|
Modifier and Type | Method and Description |
---|---|
Cogxel |
BooleanActivatableCogxelFactory.createCogxel(SemanticIdentifier identifier)
Creates a new Cogxel for the given CogxelFactory from the given
SemanticIdentifier.
|
Cogxel |
CogxelStateLite.getCogxel(SemanticIdentifier identifier)
Gets a Cogxel from the state, if it has been previously added.
|
Cogxel |
CogxelStateLite.getOrCreateCogxel(SemanticIdentifier identifier,
CogxelFactory factory)
Attempts to get an existing Cogxel for a given SemanticIdentifier.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Cogxel> |
CogxelStateLite.getCogxels()
Gets the Cogxels that have been previously added to this CogxelState.
|
java.util.Iterator<Cogxel> |
CogxelStateLite.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
CogxelStateLite.addCogxel(Cogxel cogxel)
Adds a Cogxel to the state, overriding the existing Cogxel, if it
exists.
|
boolean |
CogxelStateLite.removeCogxel(Cogxel cogxel)
Removes a Cogxel from the CogxelState, if it exists.
|