Class StochasticTraceAlignmentsAbstract<L,​M>