Main Page | Class List | File List | Class Members | File Members

etree.cc File Reference

The implementation of the Evolving Tree. More...

#include <cfloat>
#include <iostream>
#include <list>
#include "etree.hh"

Functions

ostream & operator<< (ostream &os, Etree &outtree)
 Serializes the tree to the stream.
istream & operator>> (istream &is, Etree &intree)
 Reads an Evolving Tree from a binary stream.


Detailed Description

The implementation of the Evolving Tree.

This file contains all the functions that make the Evolving Tree tick.


Function Documentation

ostream& operator<< ostream &  os,
Etree outtree
 

Serializes the tree to the stream.

Note that datacache is not exported. Also no magic numbers or checksums are used.

The order is as follows. First the constants in the order they appear in the class declaration. Next comes the fringe, then the serialized nodes.

Parameters:
os The output stream.
outtree The tree to output

istream& operator>> istream &  is,
Etree intree
 

Reads an Evolving Tree from a binary stream.

No checking of any kind is done.

Parameters:
is The input stream.
intree The tree to write the data to.


Generated on Wed May 17 15:43:41 2006 for The Evolving Tree by  doxygen 1.4.1