Biorithm  1.1
Public Member Functions | Public Attributes
NetworkLegoInActiveNetwork Struct Reference

A struct that stores a (network lego, active network, weight) triple. This triple indicates that the network lego contributes to the active network with the corresponding weight. More...

#include <active-networks.h>

List of all members.

Public Member Functions

 NetworkLegoInActiveNetwork (string nl, string an, MyNT w)
bool operator< (const NetworkLegoInActiveNetwork &other) const
 Return true if invocant is "<" than other. The methods checks the _nlId, _anId, and _weight attributes in that order.

Public Attributes

string _nlId
string _anId
MyNT _weight

Detailed Description

A struct that stores a (network lego, active network, weight) triple. This triple indicates that the network lego contributes to the active network with the corresponding weight.


Member Function Documentation

bool NetworkLegoInActiveNetwork::operator< ( const NetworkLegoInActiveNetwork other) const [inline]

Return true if invocant is "<" than other. The methods checks the _nlId, _anId, and _weight attributes in that order.

Note:
The method returns false if all attributes are the same.

The documentation for this struct was generated from the following file:
 All Classes Functions Variables Typedefs Friends