Skip to content

Commit 3dce954

Browse files
committed
Fixes found when updating TWC.
1 parent ff0d76b commit 3dce954

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

sysml.library/Kernel Libraries/Kernel Semantic Library/Occurrences.kerml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ standard library package Occurrences {
7272
feature redefines incomingTransferSort default (that as Occurrence).incomingTransferSort;
7373
}
7474

75-
feature withoutOccurrences: Occurrence[0..*] subsets occurrences inverse of withoutOccurrences {
75+
feature withoutOccurrences: Occurrence[0..*] unions successors, predecessors, outsideOfOccurrences
76+
inverse of withoutOccurrences {
7677
doc
7778
/*
7879
* Occurrences that are completely separate either in time or space or both.
@@ -377,10 +378,10 @@ standard library package Occurrences {
377378
*/
378379
}
379380

380-
feature spaceShotOf: Occurrence[0..*] subsets spaceSliceOf inverse of spaceShots {
381+
feature all spaceShotOf: Occurrence[0..*] subsets spaceSliceOf inverse of spaceShots {
381382
doc
382383
/*
383-
* Occurrences of which this occurrence is a space shot.
384+
* All occurrences of which this occurrence is a space shot.
384385
*/
385386

386387
feature spaceShotOccurrence: Occurrence[1] subsets that;
@@ -491,7 +492,7 @@ standard library package Occurrences {
491492

492493
feature redefines isClosed = true;
493494

494-
feature spaceBounder: Occurrence subsets self;
495+
feature spaceBounder: Occurrence [1] subsets self;
495496

496497
outer: Occurrence [0..1] subsets spaceSlices {
497498
feature redefines isClosed = true;
@@ -529,7 +530,7 @@ standard library package Occurrences {
529530
from surroundedSpace references spaceBoundary.inner [0..*]
530531
to surroundingSpace references spaceInterior [1];
531532

532-
feature innerSpaceOccurrences: Occurrence [0..*] {
533+
feature innerSpaceOccurrences: Occurrence [0..*] subsets outsideOfOccurrences {
533534
doc
534535
/*
535536
* Occurrences that completely occupy the space surrounded by an inner space boundary of this occurrence.
@@ -547,7 +548,7 @@ standard library package Occurrences {
547548
inv { (isEmpty(hbi) == notEmpty(hbo)) & (notEmpty(hbo) == outerSpace.isClosed) }
548549
}
549550

550-
feature surroundedByOccurrences: Occurrence [0..*] {
551+
feature surroundedByOccurrences: Occurrence [0..*] subsets outsideOfOccurrences {
551552
doc
552553
/*
553554
* Occurrences that have inner spaces that completely include this occurrence.
@@ -688,7 +689,7 @@ standard library package Occurrences {
688689
/*
689690
* HappensLink is the most general associations that assert temporal relationships between a
690691
* sourceOccurrence and a targetOccurrence. Because HappensLinks assert temporal
691-
* relationships, they cannot themselves be Occurrences that happen in time. Therefore
692+
* relationships, they cannot also be Occurrences that happen in time. Therefore
692693
* HappensLink is disjoint with LinkObject, that is, no HappensLink can also be a
693694
* LinkObject.
694695
*/

0 commit comments

Comments
 (0)