public LinearViterbiPAUpdate(LinearViterbi inf, HammingLoss loss, TempletGroup dynamic) {
   super(loss);
   this.ysize = inf.ysize();
   this.orders = concat(inf.orders(), dynamic.getOrders());
 }
 public LinearViterbi(TempletGroup templets, int ysize) {
   this.ysize = ysize;
   this.setTemplets(templets);
   this.orders = templets.getOrders();
 }