|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgps.network.graph.LinkProperties
public class LinkProperties
link properties
| Field Summary | |
|---|---|
boolean |
unidirectional
directional informaiton |
| Constructor Summary | |
|---|---|
LinkProperties()
Creates new LinkProperties with zero bandwidth, delay etc. |
|
LinkProperties(double distance,
double bandwidth,
double costs,
double delay)
Creates new LinkProperties |
|
| Method Summary | |
|---|---|
double |
getBandwidth()
gets bandwidth |
double |
getCosts()
gets costs |
double |
getDelay()
gets delay |
boolean |
getDirection()
gets dierctional informaiton |
double |
getDistance()
gets distance |
java.lang.String |
getLabel()
gets label |
int |
getType()
gets link type |
void |
setBandwidth(double bandwidth)
sets bandwidth |
void |
setCosts(double costs)
sets costs |
void |
setDelay(double delay)
sets delay |
void |
setDirection(boolean unidirectional)
sets directional information |
void |
setDistance(double distance)
sets distance |
void |
setLabel(java.lang.String label)
sets label |
void |
setType(int type)
sets link type |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean unidirectional
| Constructor Detail |
|---|
public LinkProperties()
public LinkProperties(double distance,
double bandwidth,
double costs,
double delay)
bandwidth - bandwidthcosts - costsdelay - delay| Method Detail |
|---|
public int getType()
public void setType(int type)
type - new typepublic double getBandwidth()
public void setBandwidth(double bandwidth)
bandwidth - new bandwidthpublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
label - new labelpublic boolean getDirection()
public void setDirection(boolean unidirectional)
unidirectional - true if directed, otherwise falsepublic double getDistance()
public void setDistance(double distance)
distance - new distancepublic double getCosts()
public void setCosts(double costs)
costs - new costspublic double getDelay()
public void setDelay(double delay)
delay - new delay
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||