Matrix algorithm for determination of the elementary paths and   elementary circuits using exotic semirings
  We propose a new method for determining the elementary paths and elementary circuits in a directed graph. Also, the Hamiltonian paths and Hamiltonian circuits are enumerated. 
Gheorghe Ivan
math.CO cs.DM