fr.umlv.gramofone.pb
Class LaunchPseudoBoolean

java.lang.Object
  extended by fr.umlv.gramofone.pb.LaunchPseudoBoolean

public class LaunchPseudoBoolean
extends java.lang.Object

Class to launch the pseudo boolean solver

Author:
fsikora

Constructor Summary
LaunchPseudoBoolean()
           
 
Method Summary
 java.util.ArrayList<SubGraphResult> perform(MyGraph g, GMTask task)
          Launch the LPB solver on the graph g with the cytoscape task Return the list of solution founded
 java.util.ArrayList<SubGraphResult> performOnlyFirstSolution(MyGraph g, GMTask task)
          Launch the LPB solver on the graph g with the cytoscape task Return THE unique solution founded (quicker but maybe not the best one)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaunchPseudoBoolean

public LaunchPseudoBoolean()
Method Detail

perform

public java.util.ArrayList<SubGraphResult> perform(MyGraph g,
                                                   GMTask task)
Launch the LPB solver on the graph g with the cytoscape task Return the list of solution founded

Parameters:
g -
task -
Returns:

performOnlyFirstSolution

public java.util.ArrayList<SubGraphResult> performOnlyFirstSolution(MyGraph g,
                                                                    GMTask task)
                                                             throws TimeoutException
Launch the LPB solver on the graph g with the cytoscape task Return THE unique solution founded (quicker but maybe not the best one)

Parameters:
g -
task -
Returns:
Throws:
TimeoutException