public abstract class BaseAlgorithm extends GamsJNI implements AlgorithmInterface
| Modifier and Type | Field and Description |
|---|---|
protected long |
executions |
ai.madara.knowledge.KnowledgeBase |
knowledge
The controller's current knowledge base
|
BasePlatform |
platform
The platform currently in use by the controller
|
Self |
self
Self-identifying variables like id and device properties
|
AlgorithmStatus |
status
The status of the algorithm
|
| Constructor and Description |
|---|
BaseAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
void |
assume(long cptr)
Facade for the protected setCPtr method in GamsJNI
|
void |
init(BaseController controller)
Initialize the platform with controller variables.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitanalyze, execute, planprotected long executions
public ai.madara.knowledge.KnowledgeBase knowledge
public BasePlatform platform
public Self self
public AlgorithmStatus status
public void init(BaseController controller) throws GamsDeadObjectException
controller - controller which will be using the algorithmGamsDeadObjectExceptionpublic void assume(long cptr)
throws GamsDeadObjectException
cptr - the C pointer for the underlying classGamsDeadObjectExceptionCopyright © 2018. All rights reserved.