FormalConstraintModel

scroll.internal.formal.FormalConstraintModel
See theFormalConstraintModel companion object
final case class FormalConstraintModel[NT >: Null <: AnyRef, RT >: Null <: AnyRef, CT >: Null <: AnyRef, RST >: Null <: AnyRef](rolec: Map[CT, List[((Int, Int), AnyRef)]], card: Map[RST, ((Int, Int), (Int, Int))], intra: List[(RST, List[(NT, NT)] => Boolean)])

Class representation of the Constraint Model.

Type parameters

CT

type of compartments

NT

type of naturals

RST

type of relationships

RT

type of roles

Value parameters

card

cardinality mappings

intra

intra-relationship constraints

rolec

the role constraints

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def axiom12(crom: FormalCROM[NT, RT, CT, RST]): Boolean
def axiom13(crom: FormalCROM[NT, RT, CT, RST], croi: FormalCROI[NT, RT, CT, RST]): Boolean
def axiom14(croi: FormalCROI[NT, RT, CT, RST]): Boolean
def axiom15(crom: FormalCROM[NT, RT, CT, RST], croi: FormalCROI[NT, RT, CT, RST]): Boolean
def axiom16(croi: FormalCROI[NT, RT, CT, RST]): Boolean
def compliant(crom: FormalCROM[NT, RT, CT, RST]): Boolean

Value parameters

crom

the CROM instance to check against

Attributes

Returns

true iff the constraint model is compliant to the given CROM.

def validity(crom: FormalCROM[NT, RT, CT, RST], croi: FormalCROI[NT, RT, CT, RST]): Boolean

Value parameters

croi

the CROI instance to check against

crom

the CROM instance to check against

Attributes

Returns

true iff the constraint model is compliant to the given CROM and the given CROI is valid wrt. the constraint model

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product