Bpp/Program Solve_tension Wrapper | Java |
|  |
This module provides a Java class to execute C++ methods of the program. This section allows you to access the Java source file of the module. This module is part of Bpp/Program/Solve_tension . Here are listed the constants provided by the module. To use one of them, you have to specify the namespace of the module. int AGGREGATION_1_METHOD Symbolic constant that represents the algorithm to solve a minimum linear cost tension problem with the "aggregation" technique. Method I is used to decompose the graph into serial-parallel components.
int AGGREGATION_2_METHOD Symbolic constant that represents the algorithm to solve a minimum linear cost tension problem with the "aggregation" technique. Method II is used to decompose the graph into serial-parallel components.
int AGGREGATION_3_METHOD Symbolic constant that represents the algorithm to solve a minimum linear cost tension problem with the "aggregation" technique. Method III is used to decompose the graph into serial-parallel components.
int DUAL_COST_SCALING_METHOD Symbolic constant that represents the algorithm to solve a minimum linear cost tension problem with the dual cost-scaling technique.
int LINEAR_CONFORMING_1_METHOD Symbolic constant that represents the algorithm to solve a minimum linear cost tension problem with the "conforming" technique (method I).
int LINEAR_CONFORMING_2_METHOD Symbolic constant that represents the algorithm to solve a minimum linear cost tension problem with the "conforming" technique (method II).
int LINEAR_PROGRAMMING_1_METHOD Symbolic constant that represents the algorithm to solve a minimum linear cost tension problem with a linear solver using modeling I.
int LINEAR_PROGRAMMING_2_METHOD Symbolic constant that represents the algorithm to solve a minimum linear cost tension problem with a linear solver using modeling II.
int LINEAR_PROGRAMMING_3_METHOD Symbolic constant that represents the algorithm to solve a minimum linear cost tension problem with a linear solver using modeling III.
Here are listed the classes provided by the module. To use one of them, you have to specify the namespace of the module. public class Wrapper
Encapsulates the call to C++ methods of the program inside Java native methods. public native static boolean writeGraph(JavaGraph agGraph); Writes the state of a graph into the display of the library. false is returned if any error occurs.
public native static boolean runLinearCostSolver(JavaGraph agGraph,int agMethod); Runs an optimization method to solve the synchronization problem described by the given graph. The durations of the media objects can be flexible (i.e. of class TF_FlexibleDuration in module formatter.model.time ) or unflexible with linear costs (i.e. of class TF_LinearCostFunctionDuration in module formatter.model.time ). The last argument is the symbolic constant representing the method to use for the resolution. true is returned if the problem has been solved.
| | Copyright (c) 1999-2016 - Bruno Bachelet - bruno@nawouak.net - http://www.nawouak.net | Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. See this license for more details (http://www.gnu.org). |
|
|