$darkmode
DENOPTIM
FragIsomorphEdge.java
Go to the documentation of this file.
1package denoptim.graph;
2
3import org.openscience.cdk.interfaces.IBond;
4
5public class FragIsomorphEdge
6{
10 String label = "notABond";
11
15 Object original;
16
20 boolean isBond = false;
21
22//------------------------------------------------------------------------------
23
28 public FragIsomorphEdge(IBond bnd)
29 {
30 this.label = bnd.getOrder().toString();
31 this.original = bnd;
32 this.isBond = true;
33 }
34
35//------------------------------------------------------------------------------
36
41 {}
42
43//------------------------------------------------------------------------------
44
45}
FragIsomorphEdge(IBond bnd)
Constructor for an edge representing a bond.
Object original
Reference to the object that originally generated this edge.
FragIsomorphEdge()
Constructor for an empty edge not representing a bond.
String label
Bond order or name used to identify the edge type.
boolean isBond
true if the original object was a bond.