ima.uco.fr.nuit.output
Class LaTeXOutputter

java.lang.Object
  extended by ima.uco.fr.nuit.output.LaTeXOutputter

public class LaTeXOutputter
extends java.lang.Object

Author:
IMAvengers

Constructor Summary
LaTeXOutputter()
           
 
Method Summary
static java.lang.String getFigure(int[][] s)
          Get result matrix in Latex format with figures of man and woman
static java.lang.String getMatrix(int[][] s)
          Get result matrix in Latex format with binary variables
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaTeXOutputter

public LaTeXOutputter()
Method Detail

getMatrix

public static java.lang.String getMatrix(int[][] s)
Get result matrix in Latex format with binary variables

Parameters:
s - solution matrix
Returns:
out String associate to the matrix

getFigure

public static java.lang.String getFigure(int[][] s)
Get result matrix in Latex format with figures of man and woman

Parameters:
s - solution matrix
Returns:
out String associate to the matrix