com.banda.network.domain
Class SpatialTopology

java.lang.Object
  extended by com.banda.core.domain.DomainObject<Long>
      extended by com.banda.core.domain.TechnicalDomainObject
          extended by com.banda.network.domain.Topology
              extended by 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 Class Summary
 
Nested classes/interfaces inherited from class com.banda.core.domain.DomainObject
com.banda.core.domain.DomainObject.DomainObjectKeyComparator<K extends Serializable & Comparable<K>>
 
Constructor Summary
SpatialTopology()
           
 
Method Summary
 void addSize(Integer size)
           
 List<TopologicalNode> getAllNodes()
           
 int getDimensionsNumber()
           
 Collection<Topology> getLayers()
           
 com.banda.core.metrics.MetricsType getMetricsType()
           
 SpatialNeighborhood getNeighborhood()
           
 Integer getRadius()
           
 List<Integer> getSizes()
           
 boolean isItsOwnNeighor()
           
 boolean isSpatial()
           
 boolean isTemplate()
           
 boolean isTorusFlag()
           
 void setItsOwnNeighor(boolean itsOwnNeighor)
           
 void setMetricsType(com.banda.core.metrics.MetricsType metricsType)
           
 void setNeighborhood(SpatialNeighborhood neighborhood)
           
 void setRadius(Integer radius)
           
 void setSizes(List<Integer> sizes)
           
 void setTorusFlag(boolean torusFlag)
           
 boolean supportLayers()
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpatialTopology

public SpatialTopology()
Method Detail

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.