New in Version 0.17.8
Released 25 May 2025
Interface Changes
-
Several changes to the
unpacked_node
class:-
An
unpacked_node
object is now permanently tied to a forest, and to a storage method (full or sparse). -
The
unpacked_node
constructor is now private; new instances should be created using methodNew()
-
Methods
newFull()
andnewSparse()
are deprecated, in favor ofnewWritable()
-
For consistency, creating an unpacked node from a reduced node in a forest should be done via method
initFromNode()
ornewFromNode()
, instead of methods in classforest
which are now deprecated.
-
-
New methods for
forest
class, for dealing with real-valued terminal nodes. If terminal precision is set to a value other than zero, terminal nodes are rounded by: dividing by terminal precision, round, multiply by terminal precision. Thus, if the terminal precision is 0.01, then terminal values will be rounded to the nearest 0.01.setTerminalPrecision()
: set the terminal precision for a forest.getTerminalPrecision()
: get the terminal precision for a forest.
-
We can now build a
dd_edge
iterator that starts at a random position, using methodrandom()
. As such, unary operator SELECT is now deprecated.
Implementation
-
New implementations for PLUS, MINUS, MULTIPLY, DIVIDE, MODULO operators
-
New implementations for CONVERT_TO_INDEX_SET