FormalConstraintModel

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 Params
CT

type of compartments

NT

type of naturals

RST

type of relationships

RT

type of roles

Value Params
card

cardinality mappings

intra

intra-relationship constraints

rolec

the role constraints

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

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 Params
crom

the CROM instance to check against

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 Params
croi

the CROI instance to check against

crom

the CROM instance to check against

Returns

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

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product