Entrance

object Entrance

Module that contains all the concepts related to the entrance in a structure.

class Object
trait Matchable
class Any

Type members

Classlikes

Base entrance strategy. It corresponds to the free strategy. So everyone could possibly enter.

Base entrance strategy. It corresponds to the free strategy. So everyone could possibly enter.

Trait that model the entrance strategy interface.

Trait that model the entrance strategy interface.

trait FilterBasedStrategy(filter: SimulationEntity => Boolean) extends EntranceStrategy

Filter based entrance strategy. It decides if allow the entity to enter based on the filter function passed when mixed-in.

Filter based entrance strategy. It decides if allow the entity to enter based on the filter function passed when mixed-in.

trait ProbabilityBasedStrategy(probability: Double) extends EntranceStrategy

Probability based entrance strategy. It decides if allow the entity to enter based on the probability passed when mixed-in.

Probability based entrance strategy. It decides if allow the entity to enter based on the probability passed when mixed-in.