.issues/89ae955518665a61/new/1221008555.M726241P30017Q23.cole
author Dmitriy Morozov <dmitriy@mrzv.org>
Thu, 18 Dec 2008 16:43:42 -0800
branchdev
changeset 97 0a9bd3f34419
parent 89 089d799d7ea2
permissions -rwxr-xr-x
Intermediate commit while converting to the new architecture * Converted Filtration into StaticPersistence and DynamicPersistenceTrails (both right now work with the underlying std::vector rather than std::list order) * Filtration is now just an auxilliary glue (a map between Complex and Persistence) * Whether chains are vectors or lists can be interchanged * Added PersistenceDiagram with a simple bottleneck_distance() function * Converted triangle, alphashapes3d, and cech-complex examples * Lots of organizational changes (factoring utilities out into containers.h, indirect.h, property-maps.h) * Trying to document along the way with NaturalDocs-type comments

From: Dmitriy Morozov <morozov@cs.duke.edu>
Date: Tue, 26 Feb 2008 18:22:06 -0500
State: new
Subject: Get rid of intostring() and .c_str()
Message-Id: <89ae955518665a61-0-artemis@metatron>

Get rid of the need for intostring() (in addition to tostring()), and having to
place .c_str() after tostring() in rLog calls.

The former is necessary because of some problem with disambiguating which
operator<<(ostream,T) to use when Event is being output, so intostring() calls
T.operator<<(ostream) explicitly. This problem seems to exist only for Events.

It should be possible to solve the latter by returning char* from tostring()
rather than std::string.