TropicalSemiring ts = new TropicalSemiring();
Fst fst = new Fst(ts);
State s1 = new State(ts.zero());
State s2 = new State(ts.zero());
State s3 = new State(ts.zero());
State s4 = new State(2.f);
// State 0
fst.addState(s1);
s1.addArc(new Arc(5, 5, 1.f, s2));