com.singularsys.aa
Class SystemSolver

java.lang.Object
  extended by com.singularsys.aa.SystemSolver

public class SystemSolver
extends java.lang.Object

Solves a system of equations using various equation solving algorithms.


Constructor Summary
SystemSolver()
           
 
Method Summary
 Solution solve(EquationSystem es)
          Attempts to find one solution to the equation system
 Solution solveNoSubdivision(EquationSystem es)
          Attempts to find one solution to the equation system
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemSolver

public SystemSolver()
Method Detail

solve

public Solution solve(EquationSystem es)
               throws java.lang.Exception
Attempts to find one solution to the equation system
es
.

Parameters:
es - the equation system.
Returns:
the solution found.
Throws:
java.lang.Exception - if no solution could be found, or some other error occurred.

solveNoSubdivision

public Solution solveNoSubdivision(EquationSystem es)
                            throws java.lang.Exception
Attempts to find one solution to the equation system
es
without using the subdivision method.

Parameters:
es - the equation system.
Returns:
the solution found.
Throws:
java.lang.Exception - if no solution could be found, or some other error occurred.