InterfereRelation

onera.pmlanalyzer.views.interference.model.relations.InterfereRelation
See theInterfereRelation companion object
case class InterfereRelation[L, R] extends Relation[L, R]

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Relation[L, R]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def add(a: L, b: Iterable[R]): Unit

Add a collection of b elements to a Warning if the b is empty then all the element linked to a are removed (STRANGE)

Add a collection of b elements to a Warning if the b is empty then all the element linked to a are removed (STRANGE)

Attributes

a

the input element

b

the collection of new elements

Inherited from:
Relation
def add(a: L, b: R): Unit

Add the element b to a

Add the element b to a

Attributes

a

the input element

b

the new element

Inherited from:
Relation
def apply(a: L): Set[R]

Provide the elements in relation with a WARNING the function returns an empty set either if a is not in the relation or if no elements are associated to a

Provide the elements in relation with a WARNING the function returns an empty set either if a is not in the relation or if no elements are associated to a

Attributes

a

the input element

Returns:

the set of related elements

Inherited from:
Relation
def domain: Set[L]

Provide the set of all input elements

Provide the set of all input elements

Attributes

Returns:

the set of input elements

Inherited from:
Relation
def edges: Map[L, Set[R]]

Provide the relation a map of edges

Provide the relation a map of edges

Attributes

Returns:

the map of edges

Inherited from:
Relation
def get(a: L): Option[Set[R]]

Provide the elements in relation with a id a is in the relation

Provide the elements in relation with a id a is in the relation

Attributes

a

the input element

Returns:

the optional set of related elements

Inherited from:
Relation
def inverse(b: R): Set[L]

Provide the elements a in relation with b

Provide the elements a in relation with b

Attributes

b

the output element

Returns:

the set of related inputs

Inherited from:
Relation
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def remove(a: L): Unit

Remove a from the relation WARNING: this is different from removing all elements in relation with a

Remove a from the relation WARNING: this is different from removing all elements in relation with a

Attributes

a

the input element

Inherited from:
Relation
def remove(a: L, b: Iterable[R]): Unit

Remove the elements of the collection b from the relation with a

Remove the elements of the collection b from the relation with a

Attributes

a

the input element

b

the removed elements

Inherited from:
Relation
def remove(a: L, b: R): Unit

Remove the element b from the relation with a

Remove the element b from the relation with a

Attributes

a

the input element

b

the removed element

Inherited from:
Relation
def targetSet: Set[R]

Provide the set of all output elements

Provide the set of all output elements

Attributes

Returns:

the set of output elements

Inherited from:
Relation

Inherited fields

val _inverse: HashMap[R, Set[L]]

Attributes

Inherited from:
Relation
val _values: HashMap[L, Set[R]]

Attributes

Inherited from:
Relation
val name: String

Attributes

Inherited from:
Relation