Thread: suffix trees

  1. #1
    Registered User
    Join Date
    Sep 2003
    Posts
    13

    suffix trees

    Does anyone know a site that might have some information on algorithms/design for suffix trees for C++? I have to creat one from scratch and it's a bit tough because I don't have any idea on how to create the code or anything.

    John

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Trees
    By masterg in forum C++ Programming
    Replies: 2
    Last Post: 12-04-2008, 01:42 PM
  2. Suffix tree help!
    By wuzzo87 in forum C Programming
    Replies: 6
    Last Post: 09-07-2006, 12:03 AM
  3. Suffix Trees
    By jodders in forum C++ Programming
    Replies: 2
    Last Post: 02-23-2005, 01:45 PM
  4. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  5. UNICODE and GET_STATE
    By Registered in forum C++ Programming
    Replies: 1
    Last Post: 07-15-2002, 03:23 PM