lib/pigeonkeeper.js
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");
        }
    }
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");
        }
    }
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" ) ; } }
Sets states of all vertices to be NOT_READY

@private
Sets states of all vertices to be NOT_READY