Jive reference manual
List of all members | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions
jive::graph::GreedyOptimizer Class Reference

#include <jive/graph/GreedyOptimizer.h>

Inheritance diagram for jive::graph::GreedyOptimizer:
Inheritance graph

Public Member Functions

 GreedyOptimizer (const String &name="", const Ref< Random > &rand=NIL)
 
virtual void configure (const Properties &props)
 
virtual void getConfig (const Properties &props) const
 
virtual void optimize (Partition &part, const Control &ctrl)
 
- Public Member Functions inherited from jive::graph::Optimizer
 Optimizer (const String &name="")
 
virtual String getContext () const
 
- Public Member Functions inherited from jem::NamedObject
 NamedObject (const String &name="")
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
String getName () const
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Static Public Member Functions

static void optimize (BisectionBorder &border, Random &rand, const Control &ctrl, int maxPasses=MAX_PASSES)
 
static void optimize (PartitionBorder &border, Random &rand, const Control &ctrl, int maxPasses=MAX_PASSES)
 
static Ref< OptimizermakeNew (const String &name, const Properties &conf, const Properties &props, const Properties &globdat)
 
static void declare ()
 
- Static Public Member Functions inherited from jem::NamedObject
static String makeContext (const String &kind, const String &name)
 
- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Static Public Attributes

static const char * TYPE_NAME
 
static const int MAX_PASSES
 

Protected Member Functions

virtual ~GreedyOptimizer ()
 
- Protected Member Functions inherited from jive::graph::Optimizer
virtual ~Optimizer ()
 
- Protected Member Functions inherited from jem::NamedObject
virtual ~NamedObject ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Additional Inherited Members

- Public Types inherited from jive::graph::Optimizer
typedef PartitionControl Control
 
- Protected Attributes inherited from jem::NamedObject
String myName_
 

Constructor & Destructor Documentation

jive::graph::GreedyOptimizer::GreedyOptimizer ( const String name = "",
const Ref< Random > &  rand = NIL 
)
explicit
virtual jive::graph::GreedyOptimizer::~GreedyOptimizer ( )
protectedvirtual

Member Function Documentation

virtual void jive::graph::GreedyOptimizer::configure ( const Properties props)
virtual

Reimplemented from jive::graph::Optimizer.

virtual void jive::graph::GreedyOptimizer::getConfig ( const Properties props) const
virtual

Reimplemented from jive::graph::Optimizer.

virtual void jive::graph::GreedyOptimizer::optimize ( Partition part,
const Control ctrl 
)
virtual
static void jive::graph::GreedyOptimizer::optimize ( BisectionBorder border,
Random &  rand,
const Control ctrl,
int  maxPasses = MAX_PASSES 
)
static
static void jive::graph::GreedyOptimizer::optimize ( PartitionBorder border,
Random &  rand,
const Control ctrl,
int  maxPasses = MAX_PASSES 
)
static
static Ref<Optimizer> jive::graph::GreedyOptimizer::makeNew ( const String name,
const Properties conf,
const Properties props,
const Properties globdat 
)
static
static void jive::graph::GreedyOptimizer::declare ( )
static

Member Data Documentation

const char* jive::graph::GreedyOptimizer::TYPE_NAME
static
const int jive::graph::GreedyOptimizer::MAX_PASSES
static