collect state vertex outgo state object ostatevertex ostatevertex state vertex state vertex statevertex state vertex ostatevertex collect state vertex result arrai list state vertex transit transit statevertex outgo result add transit target result invalid object except invalid element except illeg argument except argument state vertex 