jeco.lib.problems.floorplan
Class Manager

java.lang.Object
  extended by jeco.lib.problems.floorplan.Manager

public class Manager
extends java.lang.Object

Author:
jlrisco

Field Summary
protected  int cellSize
           
protected  java.util.ArrayList<Component> components
           
protected  java.util.ArrayList<Coupling> couplings
           
protected  int maxHeight
           
protected  int maxLength
           
protected  int maxWidth
           
protected  java.lang.String name
           
 
Constructor Summary
Manager(java.lang.String name, int cellSize, int maxLength, int maxWidth, int maxHeight)
           
 
Method Summary
static void dcis2010tempWork()
           
 void loadComponents(java.lang.String pathToFile)
           
 void loadCouplings(java.lang.String pathToFile)
           
static void main(java.lang.String[] args)
           
static void printHelp()
           
 void saveToDatFile(java.lang.String datPath)
           
 void saveToXml(java.lang.String xmlPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

components

protected java.util.ArrayList<Component> components

couplings

protected java.util.ArrayList<Coupling> couplings

name

protected java.lang.String name

cellSize

protected int cellSize

maxLength

protected int maxLength

maxWidth

protected int maxWidth

maxHeight

protected int maxHeight
Constructor Detail

Manager

public Manager(java.lang.String name,
               int cellSize,
               int maxLength,
               int maxWidth,
               int maxHeight)
Method Detail

loadComponents

public void loadComponents(java.lang.String pathToFile)
                    throws java.io.FileNotFoundException,
                           java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

loadCouplings

public void loadCouplings(java.lang.String pathToFile)
                   throws java.io.FileNotFoundException,
                          java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

saveToDatFile

public void saveToDatFile(java.lang.String datPath)
                   throws java.io.IOException
Throws:
java.io.IOException

saveToXml

public void saveToXml(java.lang.String xmlPath)
               throws java.io.IOException
Throws:
java.io.IOException

printHelp

public static void printHelp()

main

public static void main(java.lang.String[] args)
Parameters:
args - the command line arguments

dcis2010tempWork

public static void dcis2010tempWork()