Static Public Member Functions

twod::Parser< T, Pr > Class Template Reference

Converts text into corresponding 2D algorithm objects. More...

#include <twod/parse.hpp>


Detailed Description

template<typename T, typename Pr>
class twod::Parser< T, Pr >

Converts text into corresponding 2D algorithm objects.

List of all members.

Static Public Member Functions

static PartBase< T, Pr > * parseName (const std::string &s)
 Given a 2D algorithm name string, returns proper partitioning algorithm object. The returned object must be deallocated externally by the user using delete.

Member Function Documentation

template<typename T , typename Pr >
twod::PartBase< T, Pr > * twod::Parser< T, Pr >::parseName ( const std::string &  s  )  [static]

Given a 2D algorithm name string, returns proper partitioning algorithm object. The returned object must be deallocated externally by the user using delete.

Parameters:
s Algorithm name. Currently valid names are: RECT-UNIFORM, RECT-NICOL, HIER-RB-LOAD, HIER-RB-DIST, HIER-RB-VER, HIER-RB-HOR HIER-RELAXED-LOAD, HIER-RELAXED-DIST, HIER-RELAXED-VER, HIER-RELAXED-HOR, HIER-RB-MIDDLE, JAG-M-OPT-HOR, JAG-M-OPT-VER, JAG-M-OPT-BEST, JAG-PQ-OPT-DP-HOR, JAG-PQ-OPT-DP-VER, JAG-PQ-OPT-DP-BEST, JAG-PQ-HEUR-VER, JAG-PQ-HEUR-HOR, JAG-PQ-HEUR-BEST, JAG-M-HEUR-PROBE-HOR, JAG-M-HEUR-PROBE-VER, JAG-M-HEUR-PROBE-BEST, JAG-PQ-OPT-INTERVAL-HOR, JAG-PQ-OPT-INTERVAL-VER, JAG-PQ-OPT-INTERVAL-BEST
Returns:
Algorithm object corresponding to s

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines