oln::snakes::node< I > Class Template Reference

#include <node.hh>

Inheritance diagram for oln::snakes::node< I >:

Inheritance graph
[legend]
Collaboration diagram for oln::snakes::node< I >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef I::point_type point_type
typedef I::dpoint_type dpoint_type

Public Member Functions

 node (point_type point)
ntg::float_s energy (const I &gradient, point_type prev, point_type next) const

Friends

std::ostream & operator<< (std::ostream &, const node &)
 Print the position of a node n.

Detailed Description

template<class I>
class oln::snakes::node< I >

A node is a point used in ring.

Todo:
FIXME: Do not work due to the function energy.

Definition at line 42 of file snakes/node.hh.


Member Function Documentation

template<class I>
ntg::float_s oln::snakes::node< I >::energy ( const I &  gradient,
point_type  prev,
point_type  next 
) const [inline]

Return the energy

Todo:
FIXME: not implemented, do not work

Definition at line 37 of file node.hxx.

00038     {
00039       return 42; // FIXME: compute the real value.
00040     }


The documentation for this class was generated from the following files:
Generated on Tue Feb 20 20:29:20 2007 for Olena by  doxygen 1.5.1