Package casa.lepton.conf
Class OppNodeProperties
java.lang.Object
casa.util.conf.ConfigurationProperties
casa.lepton.conf.OppNodeProperties
public class OppNodeProperties
extends casa.util.conf.ConfigurationProperties
Properties used for the graph nodes: different nodes may have different
properties.
-
Field Summary
Fields inherited from class casa.util.conf.ConfigurationProperties
keys, properties
-
Constructor Summary
ConstructorDescriptionOppNodeProperties
(Properties properties) Initializes default properties from the given properties -
Method Summary
Modifier and TypeMethodDescriptiondouble
getAlpha()
Give the Levy Alpha parameterdouble
getBeta()
Give the Levy Beta parametercasa.util.geom.CoordCar
getCoord()
Give the initial location of the nodegetGraph()
Give the geo-referenced graph along which the node walksGive the directory that contains the journeys file and the paths filesGive the journeys filedouble
getK()
Give the Levy K parametergetLabel()
Give the label of the nodedouble
Give the maximum distance of a flight (in m)double
long
double
Give the minimum distance of a flight (in m)double
long
Give the default status of a node if no status is supplied when it is createdGive the label of the nodeGive the nodes profiles and their characteristicsGive a string representation of the pause type (???)Give the prefix for the node ids to conform of the current profile, if any.double
getRho()
Give the Levy Rho Levy parameterlong
getSeed()
Give the seed to initialize the random values generator.Give the connectivity type for which the node status is shownGive the connectivity types supported by the nodegetTag()
Give the tag for the nodeprotected Object
getTypedValue
(casa.util.conf.PropertyKey key) getWalk()
Givecasa.util.geom.AreaCar
Give the node simulation areaboolean
isMobile()
Return true if the node is mobileMethods inherited from class casa.util.conf.ConfigurationProperties
addKeys, addProperties, addProperties, addProperties, addProperties, displayAllProperties, displayDefinedProperties, expandVariables, getAreaProperty, getBooleanProperty, getClassProperty, getColorProperty, getCoordProperty, getDoubleProperty, getFileProperty, getIntProperty, getKeys, getListProperty, getLongProperty, getMapProperty, getProperty, getReaderProperty, getSetProperty, getWriterProperty, hasProperty, makeReader, propertyToString, propertyToString, setProperty
-
Constructor Details
-
OppNodeProperties
Initializes default properties from the given properties- Parameters:
properties
- the default properties string values
-
-
Method Details
-
getTypedValue
- Specified by:
getTypedValue
in classcasa.util.conf.ConfigurationProperties
-
getNodeProfiles
Give the nodes profiles and their characteristics- Returns:
- the nodes profiles and their characteristics
-
getPrefix
Give the prefix for the node ids to conform of the current profile, if any.- Returns:
- the node ids prefix
-
getSupportedConnectivityTypes
Give the connectivity types supported by the node- Returns:
- the connectivity types supported by the node
-
getNodeDefaultStatus
Give the default status of a node if no status is supplied when it is created- Returns:
- the node default status
-
getNodeLabels
Give the label of the node- Returns:
- the label of the node
-
getLabel
Give the label of the node- Returns:
- the label of the node
-
getTag
Give the tag for the node- Returns:
- the tag for the node
-
getShowNodeStatus
Give the connectivity type for which the node status is shown- Returns:
- the connectivity type for which the node status is shown
-
getWalk
Give- Returns:
- the class used to define the mobility model of the node
-
getWalkArea
public casa.util.geom.AreaCar getWalkArea()Give the node simulation area- Returns:
- the node simulation area
-
isMobile
public boolean isMobile()Return true if the node is mobile- Returns:
- true if the node is mobile
-
getCoord
public casa.util.geom.CoordCar getCoord()Give the initial location of the node- Returns:
- the initial location of the node
-
getSeed
public long getSeed()Give the seed to initialize the random values generator.- Returns:
- the seed to initialize the random values generator
-
getMinSpeed
public double getMinSpeed()- Returns:
- the minimum speed of the node (in m/s)
-
getMaxSpeed
public double getMaxSpeed()- Returns:
- the maximum speed of the node (in m/s)
-
getMinWait
public long getMinWait()- Returns:
- the minimum wait duration of the node after each flight (in ms)
-
getMaxWait
public long getMaxWait()- Returns:
- the maximum wait duration of the node after each flight (in ms)
-
getMinDist
public double getMinDist()Give the minimum distance of a flight (in m)- Returns:
- the minimum distance of a flight (in m)
-
getMaxDist
public double getMaxDist()Give the maximum distance of a flight (in m)- Returns:
- the maximum distance of a flight (in m)
-
getAlpha
public double getAlpha()Give the Levy Alpha parameter- Returns:
- the Levy Alpha parameter
-
getBeta
public double getBeta()Give the Levy Beta parameter- Returns:
- the Levy Beta parameter
-
getK
public double getK()Give the Levy K parameter- Returns:
- the Levy K parameter
-
getRho
public double getRho()Give the Levy Rho Levy parameter- Returns:
- the Levy Rho Levy parameter
-
getPauseType
Give a string representation of the pause type (???)- Returns:
- string representation of the pause type (???)
-
getGraph
Give the geo-referenced graph along which the node walks- Returns:
- geo-referenced graph along which the node walks
-
getJourneysDirectory
Give the directory that contains the journeys file and the paths files- Returns:
- the directory that contains the journeys file and the paths files
-
getJourneysFilename
Give the journeys file- Returns:
- the journeys file
-