New in Version 0.17.5
Released 05 Apr 2024
Changes to variables
Variable names are now std::string
objects instead
of char *
.
For an un-named variable, use an empty string.
Changes to operations
Builtin operations are now functions with arguments.
-
For unary operations, the arguments are the forest to pull the input argument from, and either the forest for the output result, or the type of output result.
-
For binary operations, the arguments are the forests for the input arguments and output result.
-
For ternary operations (for example, constrained saturation), the arguments are the forests for the input arguments and output result.
-
For numerical operations, the arguments are whatever was passed previously to build the specialized operation, but without the
argument
class hierarchy. -
For saturation operations, the arguments are the initial states forest, the relation, and the result forest.
Deprecated methods
Uncomment ALLOW_DEPRECATED_0_17_5
in defines.h
to use these deprecated methods:
-
destroyOperation
: useoperation::destroy
instead -
getOperation
: the builtin operation can be used as a function in the same way. For example, instead ofgetOperation(UNION, a, b, c)
, useUNION(a, b, c)
, wherea
andb
are the forests for the operands, andc
is the forest for the result.
Renamed classes
-
satpregen_opname::pregen_relation
is nowpregen_relation
satotf_opname::subevent
is nowotf_subevent
satotf_opname::event
is nowotf_event
-
satotf_opname::relation
is nowotf_relation
-
satimpl_opname::implicit_relation
is nowimplicit_relation
-
satimpl_opname::implicit_relation
is nowimplicit_relation
sathyb_opname::subevent
is nowhybrid_subevent
sathyb_opname::event
is nowhybrid_event
sathyb_opname::hybrid_relation
is nowhybrid_relation
Removed classes
-
The entire
opname
class hierarchy is now deprecated, and has been removed. -
Class
specialized_operation
is no longer needed, and has been removed.