|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthelix.graph.algo.c3part.C3PartAbstract
public abstract class C3PartAbstract
Constructor Summary | |
---|---|
C3PartAbstract(Graph dataGraph)
default pseudo constructor note: defining the constructor in the abstract class will force its requirement in subclasses : just call super() if you don't need to override. |
Method Summary | |
---|---|
NodeAggregator |
getAggregatorFor()
get aggregator by name this abstract class knows : |
ColorOptimizer |
getOptimizerFor(Graph Clas)
get optimizer for Clas this abstract class knows : |
C3PartOptions |
getOptions()
get current options return a hard copy of options, so modifying them will not modify internal algorithm options. |
C3PartOptions |
getPhysicalOptions()
get current options this method returns the internal algo options. |
Set<Graph> |
run()
run algo with current options. |
void |
setOptions(C3PartOptions options)
set options time to check for option incompatibilities |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public C3PartAbstract(Graph dataGraph)
Method Detail |
---|
public C3PartOptions getOptions()
setOptions
getOptions
in interface C3PartAlgo
public C3PartOptions getPhysicalOptions()
getOptions
instead)
getPhysicalOptions
in interface C3PartAlgo
public void setOptions(C3PartOptions options)
setOptions
in interface C3PartAlgo
public Set<Graph> run()
boolean this.beforeRun_() run() stops if result is false, else continue Setthis Abstract class proposes some default behavior forthis.run_() actually compute the partition Set this.afterRun_(Set partition) perform postprocessing
beforeRun_
and afterRun_
run
in interface C3PartAlgo
public NodeAggregator getAggregatorFor()
Name Aggregator clique CliqueAggregator star CenteredAggregator
getAggregatorFor
in interface C3PartAlgo
public ColorOptimizer getOptimizerFor(Graph Clas)
Name Optimizer off IdentityColorOptimizer user FixColorOptimizer global GlobalColorOptimizer local TerminalsColorOptimizer
getOptimizerFor
in interface C3PartAlgo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |