public class AutomatonNode extends bio.singa.mathematics.graphs.model.AbstractNode<AutomatonNode,bio.singa.mathematics.vectors.Vector2D,bio.singa.mathematics.topology.grids.rectangular.RectangularCoordinate> implements Updatable
AutomatonGraph. Contains the concentrations of ChemicalEntitys
in a ConcentrationContainer and other attributes. Each node holds references to its neighbour nodes.| Constructor and Description |
|---|
AutomatonNode(int column,
int row) |
AutomatonNode(bio.singa.mathematics.topology.grids.rectangular.RectangularCoordinate identifier) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLineLikeAgentSegment(LineLikeAgent lineLikeAgent,
bio.singa.mathematics.vectors.Vector2D segment) |
void |
addMembraneSegment(MembraneSegment segment) |
void |
addPotentialDelta(ConcentrationDelta potentialDelta)
Adds a potential delta to this node.
|
void |
addSubsectionRepresentation(CellSubsection subsection,
bio.singa.mathematics.geometry.model.Polygon representation) |
Set<CellSubsection> |
getAllReferencedSections()
Returns all referenced sections in this node.
|
Map<LineLikeAgent,Set<bio.singa.mathematics.vectors.Vector2D>> |
getAssociatedLineLikeAgents() |
CellRegion |
getCellRegion() |
ConcentrationContainer |
getConcentrationContainer()
Returns the
ConcentrationContainer used by this node. |
ConcentrationDeltaManager |
getConcentrationManager() |
AutomatonNode |
getCopy() |
javax.measure.Quantity<javax.measure.quantity.Area> |
getMembraneArea() |
List<MembraneSegment> |
getMembraneSegments() |
bio.singa.mathematics.geometry.model.Polygon |
getSpatialRepresentation() |
String |
getStringIdentifier() |
Map<CellSubsection,bio.singa.mathematics.geometry.model.Polygon> |
getSubsectionRepresentations() |
boolean |
isObserved()
Returns
true if this node is observed. |
void |
setCellRegion(CellRegion cellRegion) |
void |
setConcentrationContainer(ConcentrationContainer concentrationContainer)
Sets the
ConcentrationContainer for this node. |
void |
setConcentrationManager(ConcentrationDeltaManager concentrationManager) |
void |
setObserved(boolean isObserved)
Sets the observed state of this node.
|
void |
setSpatialRepresentation(bio.singa.mathematics.geometry.model.Polygon spatialRepresentation) |
String |
toString() |
addNeighbour, equals, getDegree, getIdentifier, getNeighbours, getPosition, hashCode, hasNeighbour, removeNeighbour, setIdentifier, setNeighbours, setPositionclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPositionpublic AutomatonNode(bio.singa.mathematics.topology.grids.rectangular.RectangularCoordinate identifier)
public AutomatonNode(int column,
int row)
public Map<CellSubsection,bio.singa.mathematics.geometry.model.Polygon> getSubsectionRepresentations()
public void addPotentialDelta(ConcentrationDelta potentialDelta)
addPotentialDelta in interface UpdatablepotentialDelta - The potential delta.public ConcentrationDeltaManager getConcentrationManager()
getConcentrationManager in interface Updatablepublic Set<CellSubsection> getAllReferencedSections()
getAllReferencedSections in interface Updatablepublic boolean isObserved()
true if this node is observed.isObserved in interface Updatabletrue if this node is observed.public void setObserved(boolean isObserved)
setObserved in interface UpdatableisObserved - true if this node is observed.public CellRegion getCellRegion()
getCellRegion in interface Updatablepublic void setCellRegion(CellRegion cellRegion)
public String getStringIdentifier()
getStringIdentifier in interface Updatablepublic ConcentrationContainer getConcentrationContainer()
ConcentrationContainer used by this node.getConcentrationContainer in interface UpdatableConcentrationContainer used by this node.public void setConcentrationContainer(ConcentrationContainer concentrationContainer)
ConcentrationContainer for this node.concentrationContainer - The ConcentrationContainer for this node.public bio.singa.mathematics.geometry.model.Polygon getSpatialRepresentation()
public void setSpatialRepresentation(bio.singa.mathematics.geometry.model.Polygon spatialRepresentation)
public void setConcentrationManager(ConcentrationDeltaManager concentrationManager)
public Map<LineLikeAgent,Set<bio.singa.mathematics.vectors.Vector2D>> getAssociatedLineLikeAgents()
public void addLineLikeAgentSegment(LineLikeAgent lineLikeAgent, bio.singa.mathematics.vectors.Vector2D segment)
public List<MembraneSegment> getMembraneSegments()
public void addMembraneSegment(MembraneSegment segment)
public javax.measure.Quantity<javax.measure.quantity.Area> getMembraneArea()
public void addSubsectionRepresentation(CellSubsection subsection, bio.singa.mathematics.geometry.model.Polygon representation)
public String toString()
toString in class bio.singa.mathematics.graphs.model.AbstractNode<AutomatonNode,bio.singa.mathematics.vectors.Vector2D,bio.singa.mathematics.topology.grids.rectangular.RectangularCoordinate>public AutomatonNode getCopy()
getCopy in interface bio.singa.mathematics.graphs.model.Node<AutomatonNode,bio.singa.mathematics.vectors.Vector2D,bio.singa.mathematics.topology.grids.rectangular.RectangularCoordinate>Copyright © 2019. All rights reserved.