Skip to content
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

AdmComparer #2

Open
pmeijer opened this issue Aug 29, 2014 · 0 comments
Open

AdmComparer #2

pmeijer opened this issue Aug 29, 2014 · 0 comments
Labels

Comments

@pmeijer
Copy link
Contributor

pmeijer commented Aug 29, 2014

Purpose

In WebCyPhy it will be important to identify changes in a design-space (can be described using the adm-format) when storing configurations and results.

Attributes and Containment

Containers

Starting from the RootContainer, all Containers must have the same Name and xsi:type (Compound, Alternative or Optional).
Further they must have matching Containers, ComponentInstances, Properties, Connectors and Formulas.

Attributes:

  • Name
  • xsi:type

Containment:

ComponentInstances

Attributes:

  • Name
  • ComponentID

Containment:

Properties

Attributes:

  • Name

More details on the Values will come..

Connectors

Attributes:

  • Name

Containment:

Formulas

The attribute xsi:type determines if the formula is a SimpleFormula or CustomFormula.

SimpleFormulas

Attributes:

  • Operation
  • Operand (TODO)

CustomFormulas

It probably will suffice to compare the Expression.
Attributes:

  • Expression

Containment:

  • Operand (TODO)

PrimitivePropertyInstances

For now make sure they are the same number. ValueExpressions will come..

ConnectorInstances

For now make sure they are the same number. ConnectorComposition will come..

Roles

Roles correspond to DomainConnectors inside Connectors.

The attribute xmlns:q1 determines if the port is a modelica- or cad-port. (A perhaps better way to check the
category is to see if the Role has the attribute Class.)

Modelica

Attributes:

  • Class

CAD

Attributes:

  • xsi:type
zhangpn pushed a commit that referenced this issue Sep 2, 2014
zhangpn pushed a commit that referenced this issue Sep 2, 2014
and added checks to compare ComponentInstances
zhangpn pushed a commit that referenced this issue Sep 3, 2014
zhangpn pushed a commit that referenced this issue Sep 4, 2014
zhangpn pushed a commit that referenced this issue Sep 9, 2014
zhangpn pushed a commit that referenced this issue Sep 9, 2014
zhangpn pushed a commit that referenced this issue Sep 10, 2014
zhangpn pushed a commit that referenced this issue Sep 11, 2014
zhangpn pushed a commit that referenced this issue Sep 11, 2014
and add it as second pass checking
zhangpn pushed a commit that referenced this issue Sep 11, 2014
zhangpn pushed a commit that referenced this issue Sep 12, 2014
by name of connector referenced to
zhangpn pushed a commit that referenced this issue Sep 16, 2014
instances attributes first then store value flow info in LUT
zhangpn pushed a commit that referenced this issue Sep 19, 2014
zhangpn pushed a commit that referenced this issue Sep 23, 2014
zhangpn pushed a commit that referenced this issue Sep 23, 2014
zhangpn pushed a commit that referenced this issue Sep 24, 2014
zhangpn pushed a commit that referenced this issue Oct 2, 2014
zhangpn pushed a commit that referenced this issue Oct 2, 2014
zhangpn pushed a commit that referenced this issue Oct 3, 2014
zhangpn pushed a commit that referenced this issue Oct 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant