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

Integration Algorithm Improvement #6

Open
omarrana opened this issue Aug 22, 2016 · 4 comments
Open

Integration Algorithm Improvement #6

omarrana opened this issue Aug 22, 2016 · 4 comments
Assignees

Comments

@omarrana
Copy link
Contributor

omarrana commented Aug 22, 2016

Current integration Algorithm is implemented.

seed 1:
1- Copy seed1 as it is in integration.aml

seed 2:
Nodes that have attributes.
e.g <Aml attribute ="121></>
2- CompareConflicts in output.txt 
       -    If found check if seed 1 has already put that in integration.aml (will always be true)
       -    Found nodes would be ignored for further processing.
3-compareNonConflicts,
       -   Elements not found in output.txt must be merged with integration.aml
       -   Attributes are matched in integration.aml
       -   Matching Elements will have its Nodes, and Ancestor Nodes match in integration.aml
       -   Matching Elements will be ignored for further processing.
4- addNonConflicts
      -   Elements not matchin no Conflicts will be added into integration.aml
      -   Appended under its parent.

Nodes that have Value.
e.g <Aml>Value</>
5- CompareConflicts in output.txt 
       -    If found check if seed 1 has already put that in integration.aml (will always be true)
       -    Found nodes would be ignored for further processing.
6-compareNonConflicts,
       -   Elements not found in output.txt must be merged with integration.aml
       -   Node are matched in integration.aml
       -   Matching Elements will have Ancestor Nodes match in integration.aml
       -   Matching Elements will be ignored for further processing.
7- addNonConflicts
      -   Elements not matching no Conflicts will be added into integration.aml
      -   Appended under its parent.
@igrangel
Copy link
Contributor

igrangel commented Nov 10, 2016

Can you provide a figure to better represent this algorithm? Maybe with draw.io

@omarrana
Copy link
Contributor Author

omarrana commented Nov 17, 2016

@igrangel
Copy link
Contributor

igrangel commented Nov 17, 2016

Could you check this. I'd like to have something like this.

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

No branches or pull requests

2 participants