Package | Description |
---|---|
actorplugin |
Classes supporting the plugin interface for actors.
|
charger.act |
Classes related to actor operations, activation and graph updating.
|
Modifier and Type | Method and Description |
---|---|
void |
ClockPlugin.performActorOperation(GraphUpdater gu,
ArrayList inputs,
ArrayList outputs)
Perform the actor's function.
|
void |
CounterPlugin.performActorOperation(GraphUpdater gu,
ArrayList inputs,
ArrayList outputs)
Perform the actor's function.
|
void |
PulsePlugin.performActorOperation(GraphUpdater gu,
ArrayList inputs,
ArrayList outputs)
Perform the actor's function.
|
void |
QuantityBarPlugin.performActorOperation(GraphUpdater dummy,
ArrayList inputs,
ArrayList outputs)
Perform the actor's function.
|
void |
SimpleActorPlugin.performActorOperation(GraphUpdater gu,
ArrayList inputs,
ArrayList outputs)
Perform the actor's function.
|
void |
StockQuotePlugin.performActorOperation(GraphUpdater dummy,
ArrayList inputs,
ArrayList outputs)
Perform the actor's function.
|
Modifier and Type | Method and Description |
---|---|
static void |
ActorPrimitive.activateArithmeticPrimitive(GraphUpdater gu,
String operation,
ArrayList inputs,
ArrayList outputs)
Implements the arithmetic primitives for actors.
|
static void |
ActorPrimitive.activateLogicalPrimitive(GraphUpdater gu,
String operation,
ArrayList inputs,
ArrayList outputs)
/**
Implements a set of logical primitive actors.
|
static void |
ActorPrimitive.activateLookupPrimitive(GraphUpdater gu,
String actorName,
ArrayList inputs,
ArrayList outputs)
Implements a lookup primitive for actors.
|
static void |
ActorPrimitive.activateUnaryPrimitive(GraphUpdater gu,
String operation,
ArrayList inputs,
ArrayList outputs) |
protected static void |
ActorPrimitive.checkInOutSize(int numInputs,
int numOutputs,
ArrayList inputs,
ArrayList outputs)
Verifies that the number of input concepts and the number of output referents for the actor matches its
definition.
|
void |
GraphUpdater.fireActor(Actor a,
ArrayList inputs,
ArrayList outputs)
Actually "fires" the given actor.
|
void |
GraphUpdater.initiateActorUpdate(Actor a)
Sets up an actor for execution by first seeing if it is executable and
then finding its associated input and output concepts which it passes to
the actual updater.
|
private static double |
ActorPrimitive.operateOnReferents(ArrayList inputs,
NumberFormat vformat,
String operation)
Performs operations for varying input cardinality actors.
|
void |
ActorPlugin.performActorOperation(GraphUpdater gu,
ArrayList<Concept> inputs,
ArrayList<Concept> outputs)
Perform the actor's operation.
|
static void |
ActorPrimitive.performActorOperation(GraphUpdater gu,
String actorName,
ArrayList inputs,
ArrayList outputs)
Calculates the output nodes' referents from the input nodes' referents.
|
void |
GraphUpdater.propagate(GNode gn)
Notifies this graph updater that a particular node has changed and
requires updating.
|
void |
GraphUpdater.updateCoref(GNode gn,
Coref c)
If a referent is changed, then we update the referents of any
coreferenced concepts.
|
void |
GraphUpdater.updateGEdge(GEdge gn)
Performs whatever update or validate routine required for the given edge.
|
void |
GraphUpdater.updateGNode(GNode gn)
Performs whatever update or validate routine required for the given node.
|
static void |
GraphUpdater.verifyActor(String actorNamePassed,
ArrayList inputs,
ArrayList outputs)
Given an actor's actual signature, verifies that it matches the actor's
definition signature.
|