/*
 * Copyright (c) 1999 Johnny C. Lam.
 * All rights reserved.
 *
 * Permission to use, copy, modify, distribute and sell this software
 * and its documentation for any purpose is hereby granted without fee,
 * provided that the above copyright notice appear in all copies and
 * that both that copyright notice and this permission notice appear
 * in supporting documentation.  The author makes no representations
 * about the suitability of this software for any purpose.  It is
 * provided "as is" without express or implied warranty.
 */

/* -*- C++ -*- */

#ifndef PATH_STRATEGY_FACTORY_H
#define PATH_STRATEGY_FACTORY_H

#ifndef STD_MEMORY_INCLUDED
#include <memory>
#define STD_MEMORY_INCLUDED
#endif

#ifndef DP_SINGLETON_INCLUDED
#include <singleton>
#define DP_SINGLETON_INCLUDED
#endif

#ifndef STD_STRING_INCLUDED
#include <string>
#define STD_STRING_INCLUDED
#endif

#ifndef PATH_STRATEGY_H_INCLUDED
#include "path_strategy.h"
#endif

class PathStrategyFactory : public Singleton<PathStrategyFactory> {
public:
    typedef string choice_type;

    static const choice_type NO_LATENTS;
    static const choice_type NO_LATENT_RECOMB;
    static const choice_type LATENT_RECOMB;

public:
    auto_ptr<PathStrategy> Make(choice_type, unsigned int, bool) const;
};

#endif /* PATH_STRATEGY_FACTORY_H */
