|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecthydroScalingAPI.util.randomSelfSimilarNetworks.Generator
public class Generator
Implementation of the Random Self-similar Networks generation algorithm. The constructor for this class is recursive.
| Constructor Summary | |
|---|---|
Generator(int extInt,
int generation,
DiscreteDistribution myIntDis,
DiscreteDistribution myExtDis,
java.lang.String familyID)
Creates a new instance of Generator |
|
Generator(int extInt,
int generation,
ScaleDependentDiscreteDistribution myIntDis,
ScaleDependentDiscreteDistribution myExtDis,
java.lang.String familyID)
Creates a new instance of Generator |
|
| Method Summary | |
|---|---|
java.lang.String[] |
decodeRsnTree()
Returns a String[] with a human readable codification for the tree. |
java.lang.String |
getGenID()
Returns a String with the tree id (family name) |
static void |
main(java.lang.String[] args)
|
static void |
main0(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Generator(int extInt,
int generation,
DiscreteDistribution myIntDis,
DiscreteDistribution myExtDis,
java.lang.String familyID)
extInt - A flag indicating if this is an exterior (0) or an interior generatorgeneration - The level of the generation of this Generator. Note: Generation = 0 indicates
that the members of this Generator have no descendentsmyIntDis - An object describing the probability distribution of the size of the descendency
for interior pseudo-linksmyExtDis - An object describing the probability distribution of the size of the descendency
for exterior pseudo-linksfamilyID - An ID for the parent family
public Generator(int extInt,
int generation,
ScaleDependentDiscreteDistribution myIntDis,
ScaleDependentDiscreteDistribution myExtDis,
java.lang.String familyID)
extInt - A flag indicating if this is an exterior (0) or an interior generatorgeneration - The level of the generation of this Generator. Note: Generation = 0 indicates
that the members of this Generator have no descendentsmyIntDis - An object describing the probability distribution of the size of the descendency
for interior pseudo-linksmyExtDis - An object describing the probability distribution of the size of the descendency
for exterior pseudo-linksfamilyID - An ID for the parent family| Method Detail |
|---|
public java.lang.String getGenID()
public java.lang.String[] decodeRsnTree()
public static void main(java.lang.String[] args)
args - the command line argumentspublic static void main0(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
CUENCAS was initially developed by Ricardo Mantilla at the University of Colorado under the supervision of Dr. Vijay K. Gupta. We wish to recognize the support from the National Science Fundation.