abstract class AbstractMachine[Exp, Abs, Addr, Time] extends AnyRef
The interface of the abstract machine itself. Abstract class that should be implemented by an abstract machine. Abstract machines that implement that in Scala-Par-AM are AAM*.scala and ParAAM*.scala.
The abstract machine is parameterized by abstract values, addresses and expressions. Look into AAM.scala for an example of how to define these parameters.
- Alphabetic
- By Inheritance
- AbstractMachine
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AbstractMachine()(implicit arg0: Expression[Exp], arg1: JoinLattice[Abs], arg2: Address[Addr], arg3: Timestamp[Time])
Type Members
-
abstract
class
AbstractMachineStats extends AnyRef
Additional classes (implementation(s) must be thread safe) to collect some statistic information about the evaluation of the expression.
Additional classes (implementation(s) must be thread safe) to collect some statistic information about the evaluation of the expression.
Designed to minimized the cost and do nothing by default to not the disturb the "normal" performance of the machine.
- Attributes
- protected
-
trait
AbstractMachineStatsDisabledTrait extends AbstractMachineStats
- Attributes
- protected
-
trait
AbstractMachineStatsEnabledTrait extends AbstractMachineStats
- Attributes
- protected
-
trait
Output extends AnyRef
The output of the abstract machine.
Abstract Value Members
-
abstract
def
eval(exp: Exp, sem: Semantics[Exp, Abs, Addr, Time], config: MachineConfig): Output
Evaluates a program, given a semantics.
Evaluates a program, given a semantics.
- 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.
-
abstract
def
name: String
The name of the abstract machine.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from AbstractMachine[Exp, Abs, Addr, Time] to any2stringadd[AbstractMachine[Exp, Abs, Addr, Time]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (AbstractMachine[Exp, Abs, Addr, Time], B)
- Implicit
- This member is added by an implicit conversion from AbstractMachine[Exp, Abs, Addr, Time] to ArrowAssoc[AbstractMachine[Exp, Abs, Addr, Time]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
def
ensuring(cond: (AbstractMachine[Exp, Abs, Addr, Time]) ⇒ Boolean, msg: ⇒ Any): AbstractMachine[Exp, Abs, Addr, Time]
- Implicit
- This member is added by an implicit conversion from AbstractMachine[Exp, Abs, Addr, Time] to Ensuring[AbstractMachine[Exp, Abs, Addr, Time]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (AbstractMachine[Exp, Abs, Addr, Time]) ⇒ Boolean): AbstractMachine[Exp, Abs, Addr, Time]
- Implicit
- This member is added by an implicit conversion from AbstractMachine[Exp, Abs, Addr, Time] to Ensuring[AbstractMachine[Exp, Abs, Addr, Time]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): AbstractMachine[Exp, Abs, Addr, Time]
- Implicit
- This member is added by an implicit conversion from AbstractMachine[Exp, Abs, Addr, Time] to Ensuring[AbstractMachine[Exp, Abs, Addr, Time]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): AbstractMachine[Exp, Abs, Addr, Time]
- Implicit
- This member is added by an implicit conversion from AbstractMachine[Exp, Abs, Addr, Time] to Ensuring[AbstractMachine[Exp, Abs, Addr, Time]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from AbstractMachine[Exp, Abs, Addr, Time] to StringFormat[AbstractMachine[Exp, Abs, Addr, Time]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isParallel: Boolean
Returns true iff the machine is a parallel machine
-
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.
-
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.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (AbstractMachine[Exp, Abs, Addr, Time], B)
- Implicit
- This member is added by an implicit conversion from AbstractMachine[Exp, Abs, Addr, Time] to ArrowAssoc[AbstractMachine[Exp, Abs, Addr, Time]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc