Skip to content

Replace ORDER_RANDOM with getVerticesShuffled(), getVertexRandom(), getEdgesShuffled() and getEdgeRandom()#179

Merged
clue merged 1 commit intographp:masterfrom
clue-labs:random
Oct 6, 2019
Merged

Replace ORDER_RANDOM with getVerticesShuffled(), getVertexRandom(), getEdgesShuffled() and getEdgeRandom()#179
clue merged 1 commit intographp:masterfrom
clue-labs:random

Conversation

@clue
Copy link
Member

@clue clue commented Oct 6, 2019

// old
$vertices->getVerticesOrder(Vertices::ORDER_RANDOM);
$vertices->getVertexOrder(Vertices::ORDER_RANDOM);
$edges->getEdgesOrder(Edges::ORDER_RANDOM);
$edges->getEdgeOrder(Edges::ORDER_RANDOM);

// new
$vertices->getVerticesShuffled();
$vertices->getVertexRandom();
$edges->getEdgesShuffled();
$edges->getEdgeRandom();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant