/*******************************************************************************
 *           LotkaVolterra Model by Michael Anderson
 *
 * Files:    LotkaVolterraMain.java
 *           Animal.java     - These are the agents that compete
 *           LVtests.java    - Common tests to apply to LV models
 *           LVroutines.java - Bulk of the code for doing pretty much anything
 *           LVmatrix.java   - Works with LV models as competition matricies
 *           LVfileIO.java   - Loading and saving LV models
 *
 *  Created July 21, 2004, 4:22 PM
 *    Last update: Jan 16, 2004
 ******************************************************************************/

package LotkaVolterra;
import java.io.*;
import java.util.Date;
import java.text.SimpleDateFormat;

public class LotkaVolterraMain {
    
    public static void main(String args[]) {
        double[] x = new double[75];
        for (int i =0; i< 75; i++) {
            x[i] = Math.random();
        }
        Animal[] animal = LVroutines.createOrderedAnimals(75, x, 4, 0.5);
        
        //LVtests.LLEvsDiffusedLinks(animal, 2, 60, 2, 2, 2, 8000, 0.01, "C:\\logFile.txt");
        LVfileIO.saveAnimalsintoFile(animal, "C:\\MikeSample.p", "Where is the fixed point?");
        System.out.println("Done.");
        
    } // End of the Main Method
    
}  // End of the LotkaVolterraMain Class