#ifndef _LADDER_H
#define _LADDER_H

#include <string>
using namespace std;
#include "tvector.h"

// forward declare internal class
class LadderNode;


class Ladder
{
  public:
    static const unsigned int WORD_SIZE;

  public:
    Ladder (istream & input);
    ~Ladder ();

    bool Find (const string & from, const string & to);
    void Print (ostream & output);

  private:  // functions
    void Load (istream & input);
    void Clear ();

    // more?

  private:  // data
    tvector<LadderNode *> myWords;

};



#endif
