|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecthydroScalingAPI.util.randomSelfSimilarNetworks.RsnStructure
public class RsnStructure
Manages information related to the topologic and geometric information associated to a Random Self-similar Network.
| Constructor Summary | |
|---|---|
RsnStructure(java.io.File theFile)
Creates a new instance of RsnStructure previously stored in a file |
|
RsnStructure(int generations,
DiscreteDistribution myDis_I,
DiscreteDistribution myDis_E)
Creates a new instance of RsnStructure. |
|
RsnStructure(int generations,
DiscreteDistribution myDis_I,
DiscreteDistribution myDis_E,
ContinuousDistribution myDis_Areas_E,
ContinuousDistribution myDis_Areas_I)
Creates a new instance of RsnStructure |
|
RsnStructure(int generations,
ScaleDependentDiscreteDistribution myDis_I,
ScaleDependentDiscreteDistribution myDis_E)
Creates a new instance of RsnStructure. |
|
| Method Summary | |
|---|---|
int[] |
getCompleteStreamLinksArray()
Returns an array with the index of the links that correspond to the bottom of complete order streams |
int[][] |
getConnectionStructure()
Returns the array describing the topologic connection structure of the links in the network |
float[][] |
getHortonOrders()
Returns an array with the links Strahler order |
float[][] |
getLinkAreas()
Returns an array with the links catchment area |
float[][] |
getLinkLengths()
Returns an array with the links geometric length |
float[][] |
getLongestLength()
Returns an array with the links upstream longest channel lenght |
int[] |
getMagnitudes()
Returns an array with the links Shreve's magnitude |
int |
getNetworkOrder()
Returns the Strahler order of the RSN |
int[] |
getNextLinkArray()
Returns an array with the index of the downstream link |
float[][] |
getUpAreas()
Returns an array with the links upstream area |
float[][] |
getUpLength()
Returns an array with the links upstream total length |
static void |
main(java.lang.String[] args)
Tests for the class |
void |
writeRsnTreeDecoding(java.io.File theFile)
Writes the RSN topologic and geometric structure to a file for later retreival and reconstruction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RsnStructure(int generations,
DiscreteDistribution myDis_I,
DiscreteDistribution myDis_E,
ContinuousDistribution myDis_Areas_E,
ContinuousDistribution myDis_Areas_I)
generations - The number of generations of the RSN (number of recursive replacements)myDis_I - A random variable with and associated probability distribution of the number of descendents
of interior nodesmyDis_E - A random variable with and associated probability distribution of the number of descendents
of exterioir nodesmyDis_Areas_E - A random variable with and associated probability distribution of the catchment
area associated to each link in the RSNmyDis_Areas_I - A random variable with and associated probability distribution of the geometric
length associated to each link in the RSN
public RsnStructure(int generations,
DiscreteDistribution myDis_I,
DiscreteDistribution myDis_E)
generations - The number of generations of the RSN (number of recursive replacements)myDis_I - A random variable with and associated probability distribution of the number of descendents
of interior nodesmyDis_E - A random variable with and associated probability distribution of the number of descendents
of exterioir nodes
public RsnStructure(int generations,
ScaleDependentDiscreteDistribution myDis_I,
ScaleDependentDiscreteDistribution myDis_E)
generations - The number of generations of the RSN (number of recursive replacements)myDis_I - A random variable with and associated probability distribution of the number of descendents
of interior nodesmyDis_E - A random variable with and associated probability distribution of the number of descendents
of exterioir nodespublic RsnStructure(java.io.File theFile)
theFile - The file where the RSN structure is stored| Method Detail |
|---|
public int getNetworkOrder()
public int[][] getConnectionStructure()
public int[] getNextLinkArray()
public int[] getMagnitudes()
public float[][] getLinkAreas()
public float[][] getUpAreas()
public float[][] getLinkLengths()
public float[][] getUpLength()
public float[][] getHortonOrders()
public float[][] getLongestLength()
public int[] getCompleteStreamLinksArray()
public void writeRsnTreeDecoding(java.io.File theFile)
throws java.io.IOException
java.io.IOExceptionpublic static void main(java.lang.String[] args)
args - the command line arguments
|
||||||||||
| 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.