EvolvingObjects
dMatrix Class Reference

Sharing is a perf2worth class that implements Goldberg and Richardson's basic sharing. More...

#include <eoSharing.h>

Inheritance diagram for dMatrix:
vector

List of all members.

Public Member Functions

 dMatrix (unsigned _s)
double operator() (unsigned _i, unsigned _j) const
 simple accessor
double & operator() (unsigned _i, unsigned _j)
 reference - to set values
void printOn (std::ostream &_os)
 just in case

Private Attributes

unsigned rSize

Detailed Description

Sharing is a perf2worth class that implements Goldberg and Richardson's basic sharing.

-*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-

----------------------------------------------------------------------------- eoSharing.h (c) Maarten Keijzer, Marc Schoenauer, 2001

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Contact: Marc.Schoenauer@inria.fr mkeijzer@dhi.dk A helper class for Sharing - to hold distances

Definition at line 40 of file eoSharing.h.


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