package colored
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- colored
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
type
Arc = WLDiEdge[Node]
Type alias for the edge type of the scalax.collection.Graph backing the petri net.
-
type
ColoredPetriNet = PetriNet[Place[_], Transition[_, _]]
Type alias for a colored petri net.
-
type
Node = Either[Place[_], Transition[_, _]]
Type alias for the node type of the scalax.collection.Graph backing the petri net.
-
case class
Place
[Color](id: Long, label: String) extends Product with Serializable
A Place in a colored petri net.
- implicit class PlaceDSL [C] extends AnyRef
- trait SequenceNet [S, E] extends StateTransitionNet[S, E]
- case class StateTransition [S, E](id: Long, label: String, isAutomated: Boolean, exceptionStrategy: TransitionExceptionHandler, produceEvent: (S) ⇒ Task[E]) extends Transition[Unit, E] with Product with Serializable
- trait StateTransitionNet [S, E] extends AnyRef
-
trait
Transition
[Input, Output] extends AnyRef
A transition in a Colored Petri Net
A transition in a Colored Petri Net
- Input
The input type of the transition, the type of value that is required as input
- Output
The output type of the transition, the type of value that this transition 'emits' or 'produces'
- case class TransitionBehaviour [S, E](automated: Boolean, exceptionHandler: TransitionExceptionHandler, fn: (S) ⇒ E) extends Product with Serializable
- implicit class TransitionDSL [Input, Output, State] extends AnyRef
Value Members
- def arc[C](p: Place[C], t: Transition[_, _], weight: Long): Arc
- def arc(t: Transition[_, _], p: Place[_], weight: Long): Arc
- def createPetriNet[S](params: Arc*): ColoredPetriNet
- implicit def placeIdentifier(p: Place[_]): Id
- implicit def transitionIdentifier(t: Transition[_, _]): Id
- object Place extends Serializable