org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure

## Class PeerPressureVertexProgram.Builder

- java.lang.Object
- - org.apache.tinkerpop.gremlin.process.computer.util.AbstractVertexProgramBuilder<PeerPressureVertexProgram.Builder>
  - - org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure.PeerPressureVertexProgram.Builder

- All Implemented Interfaces:
    VertexProgram.Builder
  Enclosing class:
    PeerPressureVertexProgram

      public static final class PeerPressureVertexProgram.Builder
      extends AbstractVertexProgramBuilder<PeerPressureVertexProgram.Builder>

- - ### Field Summary

    - ### Fields inherited from class org.apache.tinkerpop.gremlin.process.computer.util.AbstractVertexProgramBuilder

      `configuration`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `PeerPressureVertexProgram.Builder` | `distributeVote(boolean distributeVote)`
    `PeerPressureVertexProgram.Builder` | `edges(Traversal.Admin<Vertex,Edge> edgeTraversal)`
    `PeerPressureVertexProgram.Builder` | `initialVoteStrength(Traversal.Admin<Vertex,? extends Number> initialVoteStrengthTraversal)`
    `PeerPressureVertexProgram.Builder` | `maxIterations(int iterations)`
    `PeerPressureVertexProgram.Builder` | `property(String key)`

    - ### Methods inherited from class org.apache.tinkerpop.gremlin.process.computer.util.AbstractVertexProgramBuilder

      `configure, create`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.tinkerpop.gremlin.process.computer.VertexProgram.Builder

      `create`

- - ### Method Detail

    - #### property

          public PeerPressureVertexProgram.Builder property(String key)

    - #### maxIterations

          public PeerPressureVertexProgram.Builder maxIterations(int iterations)

    - #### distributeVote

          public PeerPressureVertexProgram.Builder distributeVote(boolean distributeVote)

    - #### edges

          public PeerPressureVertexProgram.Builder edges(Traversal.Admin<Vertex,Edge> edgeTraversal)

    - #### initialVoteStrength

          public PeerPressureVertexProgram.Builder initialVoteStrength(Traversal.Admin<Vertex,? extends Number> initialVoteStrengthTraversal)

Copyright © 2013–2022 Apache Software Foundation. All rights reserved.