October 2017
Beginner to intermediate
316 pages
8h
English
The strategy optimization that we will be using in this example will be to use intermediate pricing at every level of the tree. By doing so, we will enable our price calculation to span a much smaller part of the graph; only the part of the graph that changes-the node/relationship that changes and everything preceding it in the hierarchy-will need to be traversed when performing our impact simulations.
To do so, we need to add that intermediate pricing information to the hierarchy. Currently, only the lowest cost component level has pricing information. Also, we need to calculate that information for all levels of the hierarchy. We use a query similar to the following one to do so:
match ...
Read now
Unlock full access