code: function initializeStates()
      {
          // Set all states to NOT_READY
          var numVertices = graph.vertexCount();
          var vertexIds = graph.getVertexIds();
  
          for(var i = 0; i < numVertices; i++)
          {
              graph.getVertex(vertexIds[i]).setState("NOT_READY");
          }
      }
docs: Sets states of all vertices to be NOT_READY
  
  @private