Algorithm get algorithm => _algorithm;
set algorithm(Algorithm value) { _algorithm = value; markNeedsLayout(); }