FDC
This is a port of the Pair_Count.pm's box-counting algorithm to
C++. It's an early stage; while the algorithm has been
implemented, it has not yet been rigourously tested. No test
script or installation script is provided yet.
There is an included Perl module and a Perl script for
compatibility with the Pair_Count code; the module falls back
to the Pair_Count.pm module when necessary (the C++ port does
not support the quadratic pair-wise method, for instance; nor
does it support hypercube normalization) and hence is a
supplement rather than a complete replacement. It can also
translate the old option interface to the new option names,
which have changed to become more compliant with common
practice. The script serves much as the old Pair_Count.pl
does.
Just as with the Perl code, this requires the Berkeley database --
specifically, one built with the C++ API enabled. It also
requires getopt_long() support, which may limit it to Unices.
There are now multiple integration patches.
- July 2, 2005:
Brings FracDim in sync with the Feb. 12, 2004 distribution
of FDC.
- August 13, 2002:
The only difference between this and the last one is that this
one does not add a comment in the middle of a qw()...
- June 4, 2002:
This patch is meant to go with the 20020604 release of the
FracDim code. The big difference is that cross-counting (FDC
only) now goes here entirely instead of having useless code
in FracDim. This should also apply cleanly.
- January 15, 2002:
This patch is meant to go with the FracDim and FDC releases of
the previous day, due to a typo fix RUNME.pl.
- January 9, 2002:
This patch is meant to go with the FracDim and FDC releases of
the same day. Use it so that fixes to the DFD module do not
get overwritten with an older patch.
Releases:
- February 12, 2004:
patch from 2004-02-10.
Found and fixed related fatal bug in external hash table
iteration.
- February 10, 2004:
patch from 2003-10-15.
Found and fixed fatal bug in external hash table
iteration.
- October 15, 2003:
patch from 2002-01-15.
No code changes. The README now has a section at the end
summarizing how to use it with FracDim.
- January 15, 2002:
patch from 2002-01-14.
The quad-count parameters were tweaked, the tabs were
untabified, and 'string.h' was #included in QuadCount.cc.
Also fixes argument parsing silliness in FDC.pl.
- January 14, 2002:
patch from 2002-01-09.
Typo fixer, but more importantly, adds a quadratic-order
implementation that may work when there are too few points
(or pairs of corresponding points, in cross-counting) to
get a reliable tally.