class JobPicker[P[_], T[_, _]] extends AnyRef
Given a token game picks the next job(s) to be executed
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JobPicker
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
allEnabledJobs[S]: State[Instance[P, T, S], Set[Job[P, T, S, _]]]
Finds all automated enabled transitions.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
createJob[S, I, E](transition: T[I, E], input: I): State[Instance[P, T, S], Either[String, Job[P, T, S, E]]]
Fires a specific transition with input, computes the marking it should consume
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
firstEnabledJob[S]: State[Instance[P, T, S], Option[Job[P, T, S, _]]]
Finds the (optional) first transition that is enabled & automatically fireable
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
isAutoFireable[S](instance: Instance[P, T, S], t: T[_, _]): Boolean
Checks if a transition is automatically fireable by the runtime (not triggered by some outside input)
Checks if a transition is automatically fireable by the runtime (not triggered by some outside input)
By default, cold transitions (without in adjacent places) are not picked.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )