Packages

  • package root
    Definition Classes
    root
  • package be
    Definition Classes
    root
  • package opimedia
    Definition Classes
    be
  • package scala_par_am
    Definition Classes
    opimedia
  • class SeqAAM[Exp, Abs, Addr, Time] extends EvalKontMachine[Exp, Abs, Addr, Time]

    SeqAAM: Sequential AAM (with list)

    SeqAAM: Sequential AAM (with list)

    This is a reimplementation of the AAM class of Scala-AM written by Quentin Stiévenart. A fork of the original version of Scala-AM used is available here: https://bitbucket.org/OPiMedia/scala-am. The subsumption part has been removed. So this class corresponds in fact to the AAMNS (AAM No Subsumption) class of Scala-AM in this copy repository.

    Compared to AAMNS of Scala-AM this class used Set Scala native data structures instead to specific WorkList and VisitedSet. The recursive loop has been replaced by a for loop.

    The worklist is implemented by an immutable list of states.

    This sequential machine (or the SeqAAMS and SeqAAMLS alternative) is the comparison point for the different version of parallel machines implemented in Scala-Par-AM.

    The original description by Quentin Stiévenart: Implementation of a CESK machine following the AAM approach (Van Horn, David, and Matthew Might. "Abstracting abstract machines." ACM Sigplan Notices. Vol. 45. No. 9. ACM, 2010).

    A difference with the paper is that we separate the continuation store (KontStore) from the value store (Store). That simplifies the implementation of both stores, and the only change it induces is that we are not able to support first-class continuation as easily (we don't support them at all, but they could be added).

    Also, in the paper, a CESK state is made of 4 components: Control, Environment, Store, and Kontinuation. Here, we include the environment in the control component, and we distinguish "eval" states from "continuation" states. An eval state has an attached environment, as an expression needs to be evaluated within this environment, whereas a continuation state only contains the value reached.

    Source https://bitbucket.org/OPiMedia/scala-par-am/src/master/scala-par-am/src/main/scala/machine/SeqAAM.scala

    Definition Classes
    scala_par_am
  • AbstractMachineStats
  • AbstractMachineStatsDisabledTrait
  • AbstractMachineStatsEnabledTrait
  • Control
  • ControlError
  • ControlEval
  • ControlKont
  • KontAddr
  • Output
  • SeqAAMOutput
  • SeqAAMStats
  • SeqAAMStatsDisabled
  • SeqAAMStatsEnabled
  • State

case class SeqAAMOutput(halted: Set[State], numberOfStates: Int, time: Double, graphOption: Option[Graph[State]], timedOut: Boolean, stats: SeqAAM.AbstractMachineStats) extends Output with Product with Serializable

The output of the abstract machine.

Attributes
protected
Linear Supertypes
Serializable, Serializable, Product, Equals, SeqAAM.Output, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SeqAAMOutput
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Output
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SeqAAMOutput(halted: Set[State], numberOfStates: Int, time: Double, graphOption: Option[Graph[State]], timedOut: Boolean, stats: SeqAAM.AbstractMachineStats)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from SeqAAMOutput to any2stringadd[SeqAAMOutput] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (SeqAAMOutput, B)
    Implicit
    This member is added by an implicit conversion from SeqAAMOutput to ArrowAssoc[SeqAAMOutput] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  8. def compareToReference(optionReference: Option[SeqAAM.Output]): (Option[SeqAAM.Output], String)

    If optionReference is Some() then compare this output with it value and return (optionReference, separated semi-colon list of possible errors), else return (this output, "")

    If optionReference is Some() then compare this output with it value and return (optionReference, separated semi-colon list of possible errors), else return (this output, "")

    Definition Classes
    Output
  9. def ensuring(cond: (SeqAAMOutput) ⇒ Boolean, msg: ⇒ Any): SeqAAMOutput
    Implicit
    This member is added by an implicit conversion from SeqAAMOutput to Ensuring[SeqAAMOutput] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (SeqAAMOutput) ⇒ Boolean): SeqAAMOutput
    Implicit
    This member is added by an implicit conversion from SeqAAMOutput to Ensuring[SeqAAMOutput] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): SeqAAMOutput
    Implicit
    This member is added by an implicit conversion from SeqAAMOutput to Ensuring[SeqAAMOutput] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): SeqAAMOutput
    Implicit
    This member is added by an implicit conversion from SeqAAMOutput to Ensuring[SeqAAMOutput] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def errorValues: List[SemanticError]

    Return error values (ordered by string representation)

    Return error values (ordered by string representation)

    Definition Classes
    SeqAAMOutputOutput
  15. def finalValues: List[Abs]

    Return final values in "forced" total order (to have a deterministic return "corresponding" to the real partial order)

    Return final values in "forced" total order (to have a deterministic return "corresponding" to the real partial order)

    Definition Classes
    SeqAAMOutputOutput
  16. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from SeqAAMOutput to StringFormat[SeqAAMOutput] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def graphInfo: Option[GraphInfo]

    Returns information about the final graph (if it computed).

    Returns information about the final graph (if it computed).

    Definition Classes
    SeqAAMOutputOutput
  19. val graphOption: Option[Graph[State]]
  20. val halted: Set[State]
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def machineStats: SeqAAM.AbstractMachineStats

    Returns the stats keep on the evaluation (if it computed).

    Returns the stats keep on the evaluation (if it computed).

    Definition Classes
    SeqAAMOutputOutput
  23. def nbErrorState: Int

    Return number of error states

    Return number of error states

    Definition Classes
    SeqAAMOutputOutput
  24. def nbFinalState: Int

    Return number of final states

    Return number of final states

    Definition Classes
    SeqAAMOutputOutput
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. val numberOfStates: Int

    Returns the number of states visited to evaluate the program.

    Returns the number of states visited to evaluate the program.

    Definition Classes
    SeqAAMOutputOutput
  29. val stats: SeqAAM.AbstractMachineStats
  30. def statsToTsv(escaped: Boolean): String

    Returns a TSV representation of the stats, used to print results

    Returns a TSV representation of the stats, used to print results

    Definition Classes
    Output
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. val time: Double

    Returns the time it took to evaluate the program.

    Returns the time it took to evaluate the program.

    Definition Classes
    SeqAAMOutputOutput
  33. val timedOut: Boolean

    Does this output comes from a computation that timed out?

    Does this output comes from a computation that timed out?

    Definition Classes
    SeqAAMOutputOutput
  34. def toFile(path: String)(config: Option[MachineConfig], output: GraphOutput): Unit

    Outputs the graph computed by the machine in a file, according to the given output format.

    Outputs the graph computed by the machine in a file, according to the given output format.

    Definition Classes
    SeqAAMOutputOutput
  35. def toTsv(includeValues: Boolean, afterValues: List[String]): String

    Returns a TSV representation, used to print results

    Returns a TSV representation, used to print results

    Definition Classes
    Output
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def [B](y: B): (SeqAAMOutput, B)
    Implicit
    This member is added by an implicit conversion from SeqAAMOutput to ArrowAssoc[SeqAAMOutput] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SeqAAM.Output

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from SeqAAMOutput to any2stringadd[SeqAAMOutput]

Inherited by implicit conversion StringFormat from SeqAAMOutput to StringFormat[SeqAAMOutput]

Inherited by implicit conversion Ensuring from SeqAAMOutput to Ensuring[SeqAAMOutput]

Inherited by implicit conversion ArrowAssoc from SeqAAMOutput to ArrowAssoc[SeqAAMOutput]

Ungrouped