Closed jimbraun closed 8 years ago
There should be some parent machinery that a node's parent hierarchy is known when the node is constructed. This avoids costly runtime parent checking.
The hierarchy should be somehow available from NumericalExpression so it can be used when constructing histograms.
This is relevant now that we have 2D vectors. The vector comparison logic in xcdf/utility/Histogram.h and xcdf/utility/Node.h is fuzzy and should be fixed. We currently support scalar-scalar, scalar-vector, and vector-vector (provided the two vectors are the same length) relations.
The following vector field relations should be supported:
So basically:
Relations are not transitive, so when e.g. making a 2D histogram with a weight expression, both axes need to be compared against the weight expression, and the axes must be compared against each other.