|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprocope.data.networks.NetworkGenerator
public class NetworkGenerator
Contains static methods to generate networks from
scores calculators
or random networks.
This class is not instantiatable.
Method Summary | |
---|---|
static ProteinNetwork |
generateNetwork(ScoresCalculator calculator)
Generate a network from a given scores calculator . |
static ProteinNetwork |
generateNetwork(ScoresCalculator calculator,
float cutOff)
Generate a network from a given scores calculator . |
static ProteinNetwork |
generateRandomNetwork(int nodes,
int edges)
Generates a random network with the given number of nodes and edges. |
static ProteinNetwork |
generateRandomNetwork(int nodes,
int edges,
Random random)
Generates a random network with the given number of nodes and edges. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ProteinNetwork generateNetwork(ScoresCalculator calculator)
scores calculator
. All proteins which
are contained in the calculator will also be present in the network.
calculator
- scores calculator from which the network
will be calculated
public static ProteinNetwork generateNetwork(ScoresCalculator calculator, float cutOff)
scores calculator
. All proteins which
are contained in the calculator will also be present in the network.
calculator
- scores calculator from which the network
will be calculatedcutOff
- only write scores greater than or equal to this value
to the network
public static ProteinNetwork generateRandomNetwork(int nodes, int edges)
Tools.random
for random number generation.
nodes
- number of nodes in the random networkedges
- number of edges in the random network
public static ProteinNetwork generateRandomNetwork(int nodes, int edges, Random random)
random number generator
.
nodes
- number of nodes in the random networkedges
- number of edges in the random networkrandom
- random number generator
to be used
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |