Performs alpha-expansion moves on an EnergyModel using a pluggable max-flow solver.
Definition AlphaExpansion.hpp:20
Stores the graph and energy costs for the Alpha-Expansion algorithm.
Definition EnergyModel.hpp:17
Abstract base class for alpha-expansion iteration strategies.
Definition ExpansionStrategy.hpp:32
virtual ~ExpansionStrategy()=default
virtual int execute(AlphaExpansion< T > &optimizer, EnergyModel< T > &model) const =0
Runs the expansion strategy to convergence (or up to a cycle limit).