|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uchicago.src.sim.network.RolfeNet
| Constructor Summary | |
RolfeNet()
|
|
RolfeNet(Class node,
Class edge)
|
|
RolfeNet(Class node,
Class edge,
int size)
|
|
RolfeNet(Class node,
Class edge,
int size,
double dens,
double clust,
double reci,
int step)
|
|
| Method Summary | |
ArrayList |
createRolfeNet()
DO NOT USE! Experimental test class for generating nets with a particular distribution |
ArrayList |
createRolfeNet(Class node,
Class edge,
int size,
double dens,
double clust,
double reci,
int step)
|
double |
getClustring()
Gets the double of the parameter for the desired clustring (density of ego network). |
double |
getDensity()
Returns the double of the desired density of the network (ratio of number of existing edges to the maximum possible number of edges) Must be set before makeRolfeNet() is called. |
Class |
getEdgeClass()
Returns the Class of edges to be used in constructing the network. |
Class |
getNodeClass()
Returns the Class of nodes to be used in constructing the network. |
double |
getReciProb()
|
int |
getSize()
Returns the int for the size (number of nodes) in the network to be constructed. |
int |
getSteps()
|
void |
setClustring(double clust)
|
void |
setDensity(double dens)
Sets the double of the desired density of the network (ratio of number of existing edges to the maximum possible number of edges) Must be set before makeRolfeNet() is called. |
void |
setEdgeClass(Class edge)
Sets the Class of edges to be used in constructing the network. |
void |
setNodeClass(Class node)
Sets the Class of nodes to be used in constructing the network. |
void |
setReciProb(double reci)
|
void |
setSize(int size)
Sets the int for the size (number of nodes) in the network to be constructed. |
void |
setSteps(int step)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RolfeNet()
public RolfeNet(Class node,
Class edge)
public RolfeNet(Class node,
Class edge,
int size)
public RolfeNet(Class node,
Class edge,
int size,
double dens,
double clust,
double reci,
int step)
| Method Detail |
public Class getNodeClass()
public void setNodeClass(Class node)
public Class getEdgeClass()
public void setEdgeClass(Class edge)
public int getSize()
public void setSize(int size)
public double getDensity()
public void setDensity(double dens)
public double getClustring()
public void setClustring(double clust)
public double getReciProb()
public void setReciProb(double reci)
public int getSteps()
public void setSteps(int step)
public ArrayList createRolfeNet()
throws IllegalAccessException,
InstantiationException
IllegalAccessException, - InstantiationException
IllegalAccessException
InstantiationException
public ArrayList createRolfeNet(Class node,
Class edge,
int size,
double dens,
double clust,
double reci,
int step)
throws IllegalAccessException,
InstantiationException
IllegalAccessException
InstantiationException
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||