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

REALMET: Improve the hashcode implementation of the neighbourhoodLattice2GraphShape transfomration #42

Open
ArenBabikian opened this issue Jun 23, 2019 · 0 comments
Assignees

Comments

@ArenBabikian
Copy link
Collaborator

Currently, for the neighbourhoodLattice2GraphShape transformation, the hashcode calculation is buggy. It throws a stack overflow error whenever it needs to be calculated (ex. for GraphNodeDescriptorGND objects, when we want to store it in a List), possibly because of an infinitely recursive call to the hashcode calculation function through the IncomingRelationGND and OutgoingRelationGND classes. This should be fixed in a manner similar to that used by Oszkar for the neighborhood lattice creation, in the [Descriptor ](https://github.com/viatra/VIATRA-Generator/blob/RealisticMetrics/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/Descriptor.xtend)file.

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

No branches or pull requests

1 participant