public class BooleanActivatableCogxel extends DefaultCogxel implements ActivatableCogxel
Constructor and Description |
---|
BooleanActivatableCogxel(BooleanActivatableCogxel other)
Creates copy of the given cogxel.
|
BooleanActivatableCogxel(SemanticIdentifier identifier)
Creates a new instance of BooleanActivatableCogxel.
|
BooleanActivatableCogxel(SemanticIdentifier identifier,
boolean activated)
Creates a new instance of BooleanActivatableCogxel.
|
BooleanActivatableCogxel(SemanticIdentifier identifier,
double activation)
Creates a new instance of BooleanActivatableCogxel.
|
BooleanActivatableCogxel(SemanticIdentifier identifier,
double activation,
boolean activated)
Creates a new instance of BooleanActivatableCogxel.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isActivated()
Returns whether or not the object is isActivated.
|
void |
setActivated(boolean activated)
Sets a boolean indicating whether the cogxel is activated.
|
clone, getActivation, getSemanticIdentifier, getSemanticLabel, setActivation
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getActivation, getSemanticIdentifier, getSemanticLabel, setActivation
public BooleanActivatableCogxel(BooleanActivatableCogxel other)
other
- The cogxel to copy.public BooleanActivatableCogxel(SemanticIdentifier identifier)
identifier
- The SemanticIdentifier for the cogxel.public BooleanActivatableCogxel(SemanticIdentifier identifier, double activation)
identifier
- The SemanticIdentifier for the cogxel.activation
- The initial activation for the cogxel.public BooleanActivatableCogxel(SemanticIdentifier identifier, boolean activated)
identifier
- The SemanticIdentifier for the cogxel.activated
- A boolean indicating whether the cogxel is activated or
not.public BooleanActivatableCogxel(SemanticIdentifier identifier, double activation, boolean activated)
identifier
- The SemanticIdentifier for the cogxel.activation
- The initial activation for the cogxel.activated
- A boolean indicating whether the cogxel is activated or
not.public boolean isActivated()
isActivated
in interface Activatable
public void setActivated(boolean activated)
activated
- True if activated, false otherwise.