Class

io.kagera.api.colored

AbstractTransition

Related Doc: package colored

Permalink

abstract class AbstractTransition[I, O, S] extends Transition[I, O, S]

Linear Supertypes
Transition[I, O, S], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractTransition
  2. Transition
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractTransition(id: Long, label: String, isAutomated: Boolean, maximumOperationTime: Duration = Duration.Undefined, exceptionStrategy: TransitionExceptionHandler = (e, n) ⇒ BlockSelf)

    Permalink

Abstract Value Members

  1. abstract def apply(inAdjacent: MultiSet[Place[_]], outAdjacent: MultiSet[Place[_]])(implicit executor: ExecutionContext): (Marking, S, I) ⇒ Future[(Marking, O)]

    Permalink

    Given the in and out adjacent places with their weight returns a function:

    Given the in and out adjacent places with their weight returns a function:

    (Mi, S, I) => (Mo, O)

    Where:

    Mi is the in-adjacent marking, the tokens this transition consumes. S is the context state. I is input data

    Mo is the out-adjacent marking, the tokens this transition produces. O is the emitted output

    Definition Classes
    Transition
  2. abstract def updateState: (S) ⇒ (O) ⇒ S

    Permalink

    The state transition function:

    The state transition function:

    Given a value of type Output returns a function

    Definition Classes
    Transition

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def delay: FiniteDuration

    Permalink

    A duration, specifying the delay that the transition, after becoming enabled, may fire.

    A duration, specifying the delay that the transition, after becoming enabled, may fire.

    Definition Classes
    Transition
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. val exceptionStrategy: TransitionExceptionHandler

    Permalink

    Indicates a strategy to use when dealing with exceptions.

    Indicates a strategy to use when dealing with exceptions.

    Definition Classes
    AbstractTransitionTransition
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. val id: Long

    Permalink

    The unique identifier of this transition.

    The unique identifier of this transition.

    returns

    The unique identifier.

    Definition Classes
    AbstractTransitionTransition
  14. val isAutomated: Boolean

    Permalink

    Flag indicating whether this transition is managed or manually triggered from outside.

    Flag indicating whether this transition is managed or manually triggered from outside.

    This should be true iff Input == Unit.

    TODO how to encode this? the problem is in some contexts the Input type is unknown but this property might still be needed

    Require a TypeClass?

    Definition Classes
    AbstractTransitionTransition
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val label: String

    Permalink

    A human readable label of this transition.

    A human readable label of this transition.

    returns

    The label.

    Definition Classes
    AbstractTransitionTransition
  17. val maximumOperationTime: Duration

    Permalink

    The maximum duration this transition may spend doing computation / io.

    The maximum duration this transition may spend doing computation / io.

    Definition Classes
    AbstractTransitionTransition
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Transition[I, O, S]

Inherited from AnyRef

Inherited from Any

Ungrouped