title: Floyd-Warshall Algorithm - Representing "infinity"
body: <p>Using Floyd-Warshall's algorithm for finding the shortest path between two vertices, how should I represent infinity when implementing in Java? I'm using infinity here to say there is no path between two vertices.</p>
  
  <p>Thanks</p>