SimulationIncarnation

it.unibo.distributedfrp.simulation.SimulationIncarnation
class SimulationIncarnation(environment: Environment, sources: Cell[Set[Int]], obstacles: Cell[Set[Int]]) extends Incarnation with IncarnationWithEnvironment with TestLocalSensors with TestNeighborSensors

Attributes

Graph
Supertypes
trait Semantics
trait RichLanguage
trait Language
trait Core
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Classlikes

class SimulationContext(val selfId: DeviceId) extends BasicContext

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
case class SimulationNeighborState(selfId: DeviceId, neighborId: DeviceId, exported: ExportTree[Any]) extends BasicNeighborState

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Inherited classlikes

Attributes

Inherited from:
Semantics
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Inherited from:
Semantics
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Flow[A]

Attributes

Inherited from:
Core
Graph
Supertypes
class Object
trait Matchable
class Any
object Flows

Attributes

Inherited from:
Semantics
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
TestLocalSensors
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Inherited from:
TestNeighborSensors
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object given_Bounded_Double extends Bounded[Double]

Attributes

Inherited from:
RichLanguage
Graph
Supertypes
trait Bounded[Double]
trait UpperBounded[Double]
trait LowerBounded[Double]
trait Ordering[Double]
trait PartialOrdering[Double]
trait Equiv[Double]
trait Serializable
trait Comparator[Double]
class Object
trait Matchable
class Any
object given_Bounded_Int extends Bounded[Int]

Attributes

Inherited from:
RichLanguage
Graph
Supertypes
trait Bounded[Int]
trait UpperBounded[Int]
trait LowerBounded[Int]
trait Ordering[Int]
trait PartialOrdering[Int]
trait Equiv[Int]
trait Serializable
trait Comparator[Int]
class Object
trait Matchable
class Any

Inherited types

override type DeviceId = Int

Attributes

Inherited from:
IncarnationWithEnvironment
override type Export[+A] = ExportTree[A]

Attributes

Inherited from:
Semantics

Attributes

Inherited from:
TestLocalSensors
override type NeighborField[+A] = Map[DeviceId, A]

Attributes

Inherited from:
Semantics

Attributes

Inherited from:
TestNeighborSensors
override type Path = Seq[Slot]

Attributes

Inherited from:
Semantics

Value members

Concrete methods

override def context(selfId: DeviceId): Context

Attributes

Definition Classes

Inherited methods

override def branch[A](cond: Flow[Boolean])(th: Flow[A])(el: Flow[A]): Flow[A]

Attributes

Definition Classes
Inherited from:
Semantics
override def constant[A](a: A): Flow[A]

Attributes

Definition Classes
Inherited from:
Semantics
override def loop[A](init: A)(f: Flow[A] => Flow[A]): Flow[A]

Attributes

Definition Classes
Inherited from:
Semantics
def mux[A](cond: Flow[Boolean])(th: Flow[A])(el: Flow[A]): Flow[A]

Attributes

Inherited from:
Semantics
override def nbr[A](a: Flow[A]): Flow[NeighborField[A]]

Attributes

Definition Classes
Inherited from:
Semantics

Attributes

Inherited from:
TestNeighborSensors
override def nbrSensor[A](id: NeighborSensorId): Flow[NeighborField[A]]

Attributes

Definition Classes
Inherited from:
Semantics
def obstacle: Flow[Boolean]

Attributes

Inherited from:
TestLocalSensors
override def sensor[A](id: LocalSensorId): Flow[A]

Attributes

Definition Classes
Inherited from:
Semantics
override def share[A](init: Flow[A])(evolve: Flow[NeighborField[A]] => Flow[A]): Flow[A]

Attributes

Definition Classes
Inherited from:
Semantics
def source: Flow[Boolean]

Attributes

Inherited from:
TestLocalSensors

Inherited fields

override val flowLiftable: Liftable[Flow]

Attributes

Inherited from:
Semantics
override val mid: Flow[DeviceId]

Attributes

Inherited from:
Semantics

Attributes

Inherited from:
Semantics

Givens

Inherited givens

Attributes

Inherited from:
RichLanguage

Attributes

Inherited from:
RichLanguage

Attributes

Inherited from:
Language

Extensions

Inherited extensions

extension [A](field: NeighborField[A])
def foldLeft[R](seed: R)(combine: (R, A) => R): R

Attributes

Inherited from:
Semantics
def withNeighbor(neighborId: DeviceId, value: A): NeighborField[A]

Attributes

Inherited from:
Semantics

Attributes

Inherited from:
Semantics
extension [A](flow: Flow[NeighborField[A]])
def max(implicit evidence$2: LowerBounded[A]): Flow[A]

Attributes

Inherited from:
RichLanguage
extension [A](flow: Flow[NeighborField[A]])
def min(implicit evidence$1: UpperBounded[A]): Flow[A]

Attributes

Inherited from:
RichLanguage
extension [A](flow: Flow[NeighborField[A]])
def toSet: Flow[Set[A]]

Attributes

Inherited from:
RichLanguage

Attributes

Inherited from:
RichLanguage