Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Testing ExistsClass #44

Open
BentleyJOakes opened this issue May 3, 2017 · 0 comments
Open

Testing ExistsClass #44

BentleyJOakes opened this issue May 3, 2017 · 0 comments

Comments

@BentleyJOakes
Copy link
Collaborator

BentleyJOakes commented May 3, 2017

In the Families to Person test model, there is:
The Temp Family:
Mother - Zero
Mother - Two

The Oakes Family:
Mother - Mrs.Bentley

There is a rule Mother2Woman:
AnyParent <-mothers-> ExistsFamily
which produces a Woman element

Note that the Family element is an Exists element.

When this rule is executed, all three Woman elements are created.

What is the semantics of the Exists element in this case? It seems to be identical to the Any element. My understanding is that the Exists element would match on exactly one element in the entire input model. Obviously, this element is binding to both families, and also to the same family for the family with two mothers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant