public class Vertex extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Vertex.Type |
| Modifier and Type | Field and Description |
|---|---|
Vertex.Type |
monomerType |
| Constructor and Description |
|---|
Vertex() |
Vertex(org.helm.notation2.parser.notation.polymer.MonomerNotation monomer) |
Vertex(org.helm.notation2.parser.notation.polymer.MonomerNotation monomer,
Vertex.Type monomerType,
boolean isNonNatural,
boolean hasUniqueUnit,
int index) |
Vertex(Vertex vertex) |
Vertex(Vertex vertex,
Vertex.Type monomerType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBothNeighbours(Vertex vertex) |
void |
addNeighbour(Vertex vertex) |
boolean |
equals(Vertex otherVertex) |
int |
getIndex() |
org.helm.notation2.parser.notation.polymer.MonomerNotation |
getMonomer() |
List<Vertex> |
getNeighbourList() |
Vertex |
getParent() |
boolean |
hasUniqueUnit() |
boolean |
isChem() |
boolean |
isNonNatural() |
boolean |
isPeptide() |
boolean |
isRNA() |
boolean |
isVisited() |
void |
setHasUniqueUnit(boolean hasUniqueUnit) |
void |
setIndex(int idx) |
void |
setMonomer(org.helm.notation2.parser.notation.polymer.MonomerNotation monomer) |
void |
setNeighbourList(List<Vertex> neighbourList) |
void |
setNonNatural() |
void |
setParent(Vertex parent) |
void |
setVisited(boolean visited) |
String |
toString() |
public Vertex.Type monomerType
public Vertex()
public Vertex(Vertex vertex)
public Vertex(Vertex vertex, Vertex.Type monomerType)
public Vertex(org.helm.notation2.parser.notation.polymer.MonomerNotation monomer)
public Vertex(org.helm.notation2.parser.notation.polymer.MonomerNotation monomer,
Vertex.Type monomerType,
boolean isNonNatural,
boolean hasUniqueUnit,
int index)
public org.helm.notation2.parser.notation.polymer.MonomerNotation getMonomer()
public void addNeighbour(Vertex vertex)
public void addBothNeighbours(Vertex vertex)
public boolean isVisited()
public void setVisited(boolean visited)
public void setMonomer(org.helm.notation2.parser.notation.polymer.MonomerNotation monomer)
public void setIndex(int idx)
public int getIndex()
public Vertex getParent()
public void setParent(Vertex parent)
public boolean isPeptide()
public boolean isRNA()
public boolean isChem()
public boolean isNonNatural()
public void setNonNatural()
public boolean hasUniqueUnit()
public void setHasUniqueUnit(boolean hasUniqueUnit)
public boolean equals(Vertex otherVertex)
Copyright © 2018. All rights reserved.