Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

ZagrebIndex Class Reference

This descriptor returns the Zagreb Index, which is calculated as: $ d_i^2$, over all heavy atoms. More...

#include <connectivityDescriptors.h>

Inheritance diagram for ZagrebIndex:

ConnectivityBase Descriptor UnaryProcessor< AtomContainer > UnaryFunctor< AtomContainer, Processor::Result > List of all members.

Public Member Functions

Constructors and Destructors
 ZagrebIndex ()
 Default constructor.
 ZagrebIndex (const ZagrebIndex &zi)
 Copy constructor.
virtual ~ZagrebIndex ()
 Destructor.
Assignment
ZagrebIndexoperator= (const ZagrebIndex &zi)
 Assignment operator.
Accessors
double compute (AtomContainer &ac)

Detailed Description

This descriptor returns the Zagreb Index, which is calculated as: $ d_i^2$, over all heavy atoms.