Package org.neo4j.gds.beta.walking
Class CollapsePath
- java.lang.Object
-
- org.neo4j.gds.Algorithm<org.neo4j.gds.core.loading.SingleTypeRelationships>
-
- org.neo4j.gds.beta.walking.CollapsePath
-
public class CollapsePath extends org.neo4j.gds.Algorithm<org.neo4j.gds.core.loading.SingleTypeRelationships>A path template is a list of relationship types. In this implementation, the list of relationship types is encoded as a list of graphs with each one having only a single relationship type.
-
-
Constructor Summary
Constructors Constructor Description CollapsePath(java.util.List<org.neo4j.gds.api.Graph[]> pathTemplates, boolean allowSelfLoops, org.neo4j.gds.RelationshipType mutateRelationshipType, int concurrency, java.util.concurrent.ExecutorService executorService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.neo4j.gds.core.loading.SingleTypeRelationshipscompute()voidrelease()
-
-
-
Method Detail
-
compute
public org.neo4j.gds.core.loading.SingleTypeRelationships compute()
- Specified by:
computein classorg.neo4j.gds.Algorithm<org.neo4j.gds.core.loading.SingleTypeRelationships>
-
release
public void release()
- Specified by:
releasein classorg.neo4j.gds.Algorithm<org.neo4j.gds.core.loading.SingleTypeRelationships>
-
-