Interface IAlgorithmConvertible

interface IAlgorithmConvertible {
    fromAlgorithm(alg: Algorithm): this;
    toAlgorithm(): Algorithm;
}

Methods