scroll.internal.formal
This package contains the Scala reference implementation of the role-based modeling language for Compartment Role Object Models (CROM) and Compartment Role Object Instances (CROI), as well as Constraint Models. The implementation is kept simple, comprehensive, and more importantly close to their formalization. This is an adaption of https://github.com/Eden-06/formalCROM.
The reference implementation contains the following classes:
- scroll.internal.formal.CROM representing a Compartment Role Object Model
- scroll.internal.formal.CROI a Compartment Role Object Instance
- scroll.internal.formal.FormalRoleGroup the notion of a Role Group
- scroll.internal.formal.FormalConstraintModel a Constraint Model
Attributes
Members list
Type members
Classlikes
Representation of a Compartment Role Object Instance (CROI).
Representation of a Compartment Role Object Instance (CROI).
Attributes
- Supertypes
Representation of a Compartment Role Object Model (CROM).
Representation of a Compartment Role Object Model (CROM).
Attributes
- Supertypes
- Known subtypes
-
trait CROI
Class representation of the Compartment Role Object Instance (CROI).
Class representation of the Compartment Role Object Instance (CROI).
Type parameters
- CT
-
type of compartments
- NT
-
type of naturals
- RST
-
type of relationships
- RT
-
type of roles
Value parameters
- c
-
list of all compartments
- links
-
link function
- n
-
list of all naturals
- plays
-
plays relation
- r
-
list of all roles
- type1
-
type mapping
Attributes
- Companion
- object
- Supertypes
Companion object for the formal representation of the Compartment Role Object Instance (CROI).
Companion object for the formal representation of the Compartment Role Object Instance (CROI).
Attributes
- Companion
- class
- Supertypes
- Self type
-
FormalCROI.type
Companion object for the formal representation of the Compartment Role Object Model (CROM).
Companion object for the formal representation of the Compartment Role Object Model (CROM).
Attributes
- Companion
- class
- Supertypes
- Self type
-
FormalCROM.type
Class representation of the Compartment Role Object Model (CROM).
Class representation of the Compartment Role Object Model (CROM).
Type parameters
- CT
-
type of compartments
- NT
-
type of naturals
- RST
-
type of relationships
- RT
-
type of roles
Value parameters
- ct
-
list of all compartment types
- fills
-
fills-relation
- nt
-
list of all natural types
- parts
-
parts-relation
- rel
-
relationship mappings
- rst
-
list of all relationship types
- rt
-
list of all role types
Attributes
- Companion
- object
- Supertypes
Companion object for the formal representation of the constraint model.
Companion object for the formal representation of the constraint model.
Attributes
- Companion
- class
- Supertypes
- Self type
Class representation of the Constraint Model.
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
- Supertypes
Collection of some helper functions for the formal representation of CROM.
Collection of some helper functions for the formal representation of CROM.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FormalUtils.type