com.banda.network.domain
Class SpatialTopology
java.lang.Object
com.banda.core.domain.DomainObject<Long>
com.banda.core.domain.TechnicalDomainObject
com.banda.network.domain.Topology
com.banda.network.domain.SpatialTopology
- All Implemented Interfaces:
- com.banda.core.domain.KeyHolder<Long>, Serializable, Comparable<Topology>
public class SpatialTopology
- extends Topology
- Since:
- 2013
- Author:
- © Peter Banda
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class com.banda.core.domain.DomainObject |
com.banda.core.domain.DomainObject.DomainObjectKeyComparator<K extends Serializable & Comparable<K>> |
| Methods inherited from class com.banda.network.domain.Topology |
addNetwork, compareTo, copyFrom, getBiasNodes, getIndex, getName, getNetworks, getNonBiasNodes, getParentTopology, getTimeCreated, hasLayers, hasNodes, removeNetwork, setIndex, setName, setNetworks, setParentTopology, setTimeCreated, toString |
| Methods inherited from class com.banda.core.domain.TechnicalDomainObject |
getId, getKey, getVersion, setId, setKey, setVersion |
| Methods inherited from class com.banda.core.domain.DomainObject |
copyFrom, equals, hashCode |
SpatialTopology
public SpatialTopology()
getSizes
public List<Integer> getSizes()
setSizes
public void setSizes(List<Integer> sizes)
addSize
public void addSize(Integer size)
getDimensionsNumber
public int getDimensionsNumber()
isTorusFlag
public boolean isTorusFlag()
setTorusFlag
public void setTorusFlag(boolean torusFlag)
getRadius
public Integer getRadius()
setRadius
public void setRadius(Integer radius)
getMetricsType
public com.banda.core.metrics.MetricsType getMetricsType()
setMetricsType
public void setMetricsType(com.banda.core.metrics.MetricsType metricsType)
getNeighborhood
public SpatialNeighborhood getNeighborhood()
setNeighborhood
public void setNeighborhood(SpatialNeighborhood neighborhood)
isItsOwnNeighor
public boolean isItsOwnNeighor()
setItsOwnNeighor
public void setItsOwnNeighor(boolean itsOwnNeighor)
isTemplate
public boolean isTemplate()
- Specified by:
isTemplate in class Topology
getAllNodes
public List<TopologicalNode> getAllNodes()
- Specified by:
getAllNodes in class Topology
supportLayers
public boolean supportLayers()
- Specified by:
supportLayers in class Topology
getLayers
public Collection<Topology> getLayers()
- Specified by:
getLayers in class Topology
isSpatial
public boolean isSpatial()
- Specified by:
isSpatial in class Topology
Copyright © 2013. All Rights Reserved.