public class T4JnArchImpl extends jason.architecture.AgArch implements T4JnArch
Constructor and Description |
---|
T4JnArchImpl() |
Modifier and Type | Method and Description |
---|---|
long |
addTucsonOperationRequest(alice.tucson.asynchSupport.actions.AbstractTucsonOrdinaryAction action)
Method to add a TuCSoN operation to execute.
|
java.util.concurrent.locks.Lock |
getMutex()
Method to get the mutex granting exclusive access to results and
suspended intentions collections.
|
java.util.Map<java.lang.Long,TucsonResult> |
getResults()
Method to get the collection of TuCSoN operation results.
|
java.util.Map<java.lang.Long,jason.asSemantics.Intention> |
getSuspendedIntentions()
Method to get the collection of suspended intentions waiting for result.
|
void |
init() |
act, broadcast, canSleep, checkMail, compareTo, createCustomArchs, equals, getAgArchClassesChain, getAgName, getArchInfraTier, getCycleNumber, getFirstAgArch, getNextAgArch, getRuntimeServices, getTS, hashCode, incCycleNumber, initAg, insertAgArch, isRunning, perceive, reasoningCycleStarting, sendMsg, setCycleNumber, setTS, sleep, stop, toString, wake
public final long addTucsonOperationRequest(alice.tucson.asynchSupport.actions.AbstractTucsonOrdinaryAction action)
T4JnArch
addTucsonOperationRequest
in interface T4JnArch
action
- The TuCSoN operation.public final void init() throws java.lang.Exception
init
in class jason.architecture.AgArch
java.lang.Exception
public final java.util.Map<java.lang.Long,TucsonResult> getResults()
T4JnArch
getResults
in interface T4JnArch
public final java.util.Map<java.lang.Long,jason.asSemantics.Intention> getSuspendedIntentions()
T4JnArch
getSuspendedIntentions
in interface T4JnArch
public final java.util.concurrent.locks.Lock getMutex()
T4JnArch