class ParAAMLSAState[Exp, Abs, Addr, Time] extends SeqAAM[Exp, Abs, Addr, Time]
ParAAMLSAState: ParAAM-L-SA-state for Parallel AAM - Loop - SenderAggregator - state
The worklist is implemented by an immutable list of sets of states.
The main method eval() loops until the worklist is empty. An unique actor ActorSenderAggregator sends successively each state of the worklist to actors ActorEval (modulo the number of these actors) and then collects each of these results.
Extend SeqAAM class to reuse common code.
- Alphabetic
- By Inheritance
- ParAAMLSAState
- SeqAAM
- EvalKontMachine
- AbstractMachine
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ParAAMLSAState()(implicit arg0: Expression[Exp], arg1: JoinLattice[Abs], arg2: Address[Addr], arg3: Timestamp[Time])
Type Members
-
trait
Output extends AnyRef
The output of the abstract machine.
The output of the abstract machine.
- Definition Classes
- AbstractMachine
-
trait
Control extends MemoHashCode
The control component of the machine
The control component of the machine
- Definition Classes
- EvalKontMachine
-
case class
ControlError(err: SemanticError) extends Control with Product with Serializable
Or an error component, in case an error is reached (e.g., incorrect number of arguments in a function call)
Or an error component, in case an error is reached (e.g., incorrect number of arguments in a function call)
- Definition Classes
- EvalKontMachine
-
case class
ControlEval(exp: Exp, env: Environment[Addr]) extends Control with Product with Serializable
It can either be an eval component, where an expression needs to be evaluated in an environment
It can either be an eval component, where an expression needs to be evaluated in an environment
- Definition Classes
- EvalKontMachine
-
case class
ControlKont(v: Abs) extends Control with Product with Serializable
Or it can be a continuation component, where a value has been reached and a continuation should be popped from the stack to continue the evaluation
Or it can be a continuation component, where a value has been reached and a continuation should be popped from the stack to continue the evaluation
- Definition Classes
- EvalKontMachine
- type CollectedLocalResults = (List[State], Option[Graph[State]])
- type LocalResults = (List[State], List[(State, Set[State])])
-
trait
KontAddr extends MemoHashCode
The store used for continuations is a KontStore (defined in Kontinuation.scala).
The store used for continuations is a KontStore (defined in Kontinuation.scala). It is parameterized by continuation addresses, that are element of the KontAddress typeclass.
- Definition Classes
- SeqAAM
Value Members
-
def
collectLocalResults(actors: Array[ActorRef], message: Int, timeout: FiniteDuration, computeGraph: Boolean, selfActor: ActorRef = null, selfLocal: LocalResults = (Nil, Nil)): CollectedLocalResults
Sends message to each actor to ask halted and edges collected locally.
Sends message to each actor to ask halted and edges collected locally. Builds and returns complete halted and graph results.
-
def
eval(exp: Exp, sem: Semantics[Exp, Abs, Addr, Time], config: MachineConfig): Output
Performs the evaluation of an expression as SeqAAM.eval.
Performs the evaluation of an expression as SeqAAM.eval. It is the main work that is parallelized.
- exp
The program to be evaluate
- config
Specify some parameters of the machine
- returns
An object implementing the Output trait, containing information about the evaluation.
- Definition Classes
- ParAAMLSAState → SeqAAM → AbstractMachine
-
def
isParallel: Boolean
Returns true iff the machine is a parallel machine
Returns true iff the machine is a parallel machine
- Definition Classes
- ParAAMLSAState → AbstractMachine
-
def
minProcess: Int
Returns the minimum processes possible for this machine.
Returns the minimum processes possible for this machine. Must be >= 1 and must be 1 if !isParallel.
- Definition Classes
- ParAAMLSAState → AbstractMachine
-
def
name: String
The name of the abstract machine.
The name of the abstract machine.
- Definition Classes
- ParAAMLSAState → SeqAAM → AbstractMachine
-
def
nbNotEvalProcess: Int
Returns the number of processes that whose task is not to perform step evaluation.
Returns the number of processes that whose task is not to perform step evaluation. Must be >= 0.
- Definition Classes
- ParAAMLSAState → AbstractMachine