oineus.TopologyOptimizer¶
- class oineus.TopologyOptimizer(fil, *args, **kwargs)[source]¶
Bases:
objectTopology optimizer for a filtration of any cell encoding.
Dispatches on the filtration’s cell type – universal Simplex (VR / alpha / user), product, slim cube, slim Freudenthal, or bit-packed VR/alpha – and returns the matching C++ optimizer instance directly, so its full native API (reduce_all, compute_diagram, simplify, match, singletons, combine_loss, …) is available unchanged. Constructor keywords (with_crit_sets, dims_to_restore_elz, n_threads, u_strategy) are forwarded verbatim.
oineus.diff.TopologyOptimizer is the differentiable-pipeline wrapper built on the same dispatch; use this bare class for direct (non-autograd) topology optimization.