-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data definitions, instance models, etc. with multiple equations #1174
Comments
The best way forward is the third option, multi-equation definitions, at least for instance models. I think inlining is not really a solution. In the short term, creating separate DDs would be better than this hack. |
I agree with @JacquesCarette. The short-term fix can be adding separate DDs. This is consistent with how we solved other problems. Capturing small increments of knowledge is also consistent with our overall "philosophy". In the future we will want to provide a presentation (documentation) mechanism that combines the small definitions into something more suitable for human consumption. |
Question 1: Options for multiequations:
At what level should we store these multi-relations?
I can express the above 3 option in more "codelike" terms
I will be working on a branch with option 2 for question 1 and option 3 for question 2. |
|
When we eventually reach a place where we can begin solving this issue change from singular quantities to multiquantities then we will face problems from class instances. what is the term, space, symbol, idea, named idea, and defining expr when we have MULTIPLE QDefinitions? They are well defined for singular defintions but how about for multiple definitions. I will change definingexpr from Expr to [Expr] For DataDefinitions: Genral Definition: Same as data definitions. TM: Nothing, TM does not have any of its class instances based on equations. IM: Same as Data Definition. |
You have an 'inverted' design in mind. I see this new data-structure living at the "model" level only, so that there would in fact be no term / space / symbol / idea / etc instances. The insides of that structure would, but not the structure itself. No, don't change definingexpr from |
This is another interesting ticket. I think the discussion of "multi-equations" relate to what I was briefly discussing as an issue in #2587 (comment) -- I think this would be the "StackedModel" I discussed (definitely needs a better name, and MultiEquational sounds better from this discussion). |
The following is an example instance model with multiple equations in the manual version of SSP:
SSP also has data definitions defined with multiple equations.
Currently we hack this instance model's equation in Drasil by connecting each equation with "=", like so:
This is clearly incorrect.
We need to find a better way to handle these situations in Drasil. Some options:
The text was updated successfully, but these errors were encountered: