PROFASI  Version 1.5
Public Member Functions | List of all members
prf::Contact Class Reference

An abstraction of a contact. More...

#include <Contact.hh>

Public Member Functions

 Contact (int i1, int i2)
 Create a Contact object, between integers i1 and i2.
 Contact (const Contact &c)
 Copy a contact.
Contactoperator= (const Contact &c)
bool operator== (const Contact &c)
 Comparison to see if two contact objects represent the same contact.
bool operator< (const Contact &c)
 "Less than" operation is useful for sorting

Detailed Description

This represents a link or a bond between two objects which are represented by two integers. It could, for instance, be an "edge" of graph theory, between two "nodes" labeled as integers. An object of this type merely stores those integers. It can be used to store information about one hydrogen bond or one native contact.

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

PROFASI: Protein Folding and Aggregation Simulator, Version 1.5
© (2005-2016) Anders Irbäck and Sandipan Mohanty
Documentation generated on Mon Jul 18 2016 using Doxygen version 1.8.2