Package | Description |
---|---|
org.apache.tinkerpop.gremlin.algorithm.generator |
Modifier and Type | Class and Description |
---|---|
class |
CopyDistribution
CopyDistribution returns the conditional value.
|
class |
NormalDistribution
Generates values according to a normal distribution with the configured standard deviation.
|
class |
PowerLawDistribution
Generates values according to a scale-free distribution with the configured gamma value.
|
Modifier and Type | Field and Description |
---|---|
Distribution |
CommunityGeneratorTest.DifferentDistributionsTest.communityDistribution |
Distribution |
CommunityGeneratorTest.DifferentDistributionsTest.degreeDistribution |
Distribution |
DistributionGeneratorTest.DifferentDistributionsTest.inDistribution |
Distribution |
DistributionGeneratorTest.DifferentDistributionsTest.outDistribution |
Modifier and Type | Method and Description |
---|---|
Distribution |
CopyDistribution.initialize(int invocations,
int expectedTotal) |
Distribution |
NormalDistribution.initialize(int invocations,
int expectedTotal) |
Distribution |
PowerLawDistribution.initialize(int invocations,
int expectedTotal) |
Distribution |
Distribution.initialize(int invocations,
int expectedTotal)
Initializes the distribution such that expectedTotal is equal to the expected sum of generated values
after the given number of invocatiosn.
|
Modifier and Type | Method and Description |
---|---|
CommunityGenerator.Builder |
CommunityGenerator.Builder.communityDistribution(Distribution community)
Sets the distribution to be used to generate the sizes of communities.
|
CommunityGenerator.Builder |
CommunityGenerator.Builder.degreeDistribution(Distribution degree)
Sets the distribution to be used to generate the out-degrees of vertices.
|
DistributionGenerator.Builder |
DistributionGenerator.Builder.inDistribution(Distribution distribution)
Sets the distribution to be used to generate the out-degrees of vertices.
|
DistributionGenerator.Builder |
DistributionGenerator.Builder.outDistribution(Distribution distribution)
Sets the distribution to be used to generate the sizes of communities.
|
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.