$darkmode
DENOPTIM
denoptim.json.LWBond Class Reference

A light-weight bond representation to facilitate json serialization of IBond. More...

Collaboration diagram for denoptim.json.LWBond:
[legend]

Public Member Functions

 LWBond (int atmIdA, int atmIdB, IBond.Order bo)
 

Protected Attributes

int[] atomIds = new int[2]
 0-based index of the centers, i.e., atoms or pseudo-atoms, connected by this bond. More...
 
IBond.Order bo
 Type of bond. More...
 

Detailed Description

A light-weight bond representation to facilitate json serialization of IBond.

It consider only connections that can be defined between two centers, i.e., two atoms or pseudo-atoms.

Author
Marco Foscato

Definition at line 30 of file LWBond.java.

Constructor & Destructor Documentation

◆ LWBond()

denoptim.json.LWBond.LWBond ( int  atmIdA,
int  atmIdB,
IBond.Order  bo 
)

Definition at line 46 of file LWBond.java.

References denoptim.json.LWBond.bo.

Member Data Documentation

◆ atomIds

int [] denoptim.json.LWBond.atomIds = new int[2]
protected

0-based index of the centers, i.e., atoms or pseudo-atoms, connected by this bond.

Definition at line 36 of file LWBond.java.

Referenced by denoptim.json.IAtomContainerDeserializer.deserialize().

◆ bo

IBond.Order denoptim.json.LWBond.bo
protected

Type of bond.

Definition at line 41 of file LWBond.java.

Referenced by denoptim.json.IAtomContainerDeserializer.deserialize(), and denoptim.json.LWBond.LWBond().


The documentation for this class was generated from the following file: