xgoap icon indicating copy to clipboard operation
xgoap copied to clipboard

Equality and hashing defaults

Open eelstork opened this issue 5 years ago • 0 comments

Desirable because poorly implemented Equals() leads to solvers exceeding maxIter and/or maxNodes, negatively impacting dev workflow. One possible route is via structs, but this implies a design effort (mutable structs are probably a poor choice; readonly structs will have restrictions impacting action design. As an alternative, consider providing generic equality and hashing

eelstork avatar Oct 20 '19 14:10 eelstork