/**
 * 
 */
package pacemaker;

/**
 * OLD DATA in millisec values, now using usec preferably
 * 
 * Holds data from real species of fireflies, as found in literature.<p>
 * 
 * Values of period, pulse, ecc are collected in a static field 
 * "{@link #data}" for immediate use by other classes.
 * 
 * @author Tony Binci
 */
public class millisec_Species {

	/** 
	 * Real Data from firefly species.<p>
	 * 
	 * Legend: SPECIES_NAME, period, pulse_duration, prep, inert, model, b, epsilon, max_period, min_period, relaxation<p>
	 *
	 * Times are in millisecs.<p>
	 * <code>null</code> is used when a certain value in unknown.<p>
	 */
	public static final String data [][] = {
		{"DEFAULT",			"1000", "100", "80", "300", "DELAY", "1", "0.3", null, null, null}, // a default n-uple for secure values
		
		// total sync species
		{"MALACCAE_MALAY",	"900", "50", null, null, "PERFECT", "1", "0.3", "1030", "770", null}, //hanson 1978+Ermentrout 1991+Buck 1988+Mirollo,Strogatz 1990+Buck and Buck 1978
		{"MALACCAE_MALAY_2","850", "50", null, null, "PERFECT", "1", "0.3", null, null, null}, //Ermentrout 1991+Buck 1988+Mirollo,Strogatz 1990+Buck and Buck 1978		
		{"MALACCAE_3",		"600", "50", null, null, "PERFECT", "1", "0.3", "600", "500", null}, //Carlson,Copeland 1985+Ermentrout 1991+Mirollo,Strogatz 1990++Buck and Buck 1978
		{"MALACCAE_THAI",	"560", "50", "70", "70", "PERFECT", "1", "0.3", "672", "448", "0.01"}, //Kim 2004+Ermentrout 1991+Copeland,Moiseff 2004+Buck 1988+Buck 1968+Buck&Buck1968+Mirollo,Strogatz 1990++Buck and Buck 1978+Hanson,Case,Buck,Buck 1971
		{"CRIBELLATA",		"1000", "50", null, "200", "DELAY", "1", null, "1600", "800", null}, //hanson 1978+Carlson,Copeland 1985+Kim2004+Ermentrout 1991+Buck 1988+Mirollo,Strogatz 1990+Hanson,Case,Buck,Buck 1971
		{"CRIBELLATA_2",	"1000", "50", null, "450", "DELAY", "1", null, null, null, null}, //Buck and Buck 1978+Carlson,Copeland 1985+Kim2004+Ermentrout 1991+Buck 1988+Mirollo,Strogatz 1990
		{"CRIBELLATA_3",	"5000", "50", null, null, "DELAY", "1", null, null, null, null}, //Buck and Buck 1978+Carlson,Copeland 1985+Kim2004+Ermentrout 1991+Buck 1988+Mirollo,Strogatz 1990+Buck and Buck 1978		
		{"PUPILLA",			"1000",	"50", null, null, "PERFECT", "1", "0.3", "1100", "800", null}, //hanson 1978+Ermentrout 1991+Buck and Buck 1978
		{"TENER",			"270", null, null, null, "PERFECT", "1", "0.3", null, null, null}, //Carlson,Copeland 1985+Ermentrout 1991
		{"TENER_2",			"300", null, null, null, "PERFECT", "1", "0.3", null, null, null}, //Buck and Buck 1978+Ermentrout 1991
		{"TENER_3",			"2000", null, null, null, "PERFECT", "1", "0.3", null, null, null}, //Ermentrout 1991+Copeland,Moiseff 1997		
		
		// imprecise sync (including: intermittent sync, wave sync, only-2-sync, follow-the-leader)
		//intermittent
		{"PYRALIS",			"6000", "600", "200", "200", "ADVANCE", "0", null, null, null, null}, //Carlson,Copeland 1985+Kim2004+Ermentrout 1991+Buck 1988+Mirollo,Strogatz 1990		
		//only-2
		{"FRONTALIS",		"900", "27", null, null, null, null, null, "970", "800", null}, //Moiseff,Copeland 2000+Copeland,Moiseff 2004
		//wave
		{"GREENI",			"1200", null, null, null, "DELAY", null, null, null, null, null}, //Carlson,Copeland 1985+Buck 1988+Tyler 2003
		{"GREENI_2",		"5000", "150", null, null, "DELAY", null, null, null, null, null}, //Lewis,Cratsley,Demary 2004+Buck 1988+Tyler 2003
		{"MACDERMOTTI",		"2300", null, null, null, "DELAY", null, null, null, null, null}, //Carlson,Copeland 1985+Buck 1988+Tyler 2003
		{"MACDERMOTTI_2",	"2000", null, null, null, "DELAY", null, null, null, "1625", null}, //Buck 1988+Tyler 2003
		{"MACDERMOTTI_3",	"6000", "177", null, null, "DELAY", null, null, null, null, null}, //Lewis,Cratsley,Demary 2004+Buck 1988+Tyler 2003
		{"CONSANGUINEOUS",	"5082", "200", null, null, "DELAY", null, null, null, null, null}, // Buck1988+Lewis,Cratsley,Demary 2004+Tyler 2003
		//sporadic
		{"VERSICOLOR",		"240", "100", null, null, null, null, null, null, null, null}, //Carlson,Copeland 1985
		{"VALIDA",			"33", null, null, null, null, null, null, null, null, null}, // Buck 1988+Buck and Buck 1978
		{"CONCISUS",		null, null, null, null, "ADVANCE", null, null, null, null, null}, //Buck1988+Moiseff,Copeland 2000+Otte 1980
		{"KNULLI",			null, null, null, null, null, null, null, null, null, null}, //Lewis,Cratsley,Demary 2004
		{"CAROLINUS",		"12000", "200", null, "4000", null, null, null, null, null, null}, //Copeland,Moiseff 1995+Lewis,Cratsley,Demary 2004

		// absolute no sync
		{"CRUCIATA",		null, null, null,null,  null, "1", null, null, null, null}, //Buck 1988
		{"CONSIMILIS",		"3300", "70", null, "236", "ADVANCE", null, null, null, null, null}, // branham,greenfield 1996
		{"PALLENS",			null, null, null, null, null, null, null, null, null, null}, //Buck and Buck 1978
		{"MARGINELLUS",		"2800", "400", null, null, null, null, null, null, null, null}, //Lewis,Cratsley,Demary 2004
		{"SABULOSUS",		"3800", "177", null, null, null, null, null, null, null, null}, //Lewis,Cratsley,Demary 2004
		{"PYRALIS_2",		"5600", "700", null, null, null, null, null, null, null, null}, //Lewis,Cratsley,Demary 2004
		{"UMBRATUS",		"6700", "500", null, null, null, null, null, null, null, null}, //Lewis,Cratsley,Demary 2004
		{"COLLUSTRANS",		"2200", "384", null, null, null, null, null, null, null, null}, //Lewis,Cratsley,Demary 2004
		{"IGNITUS",			"5000", "300", null, null, null, null, null, null, null, null}, //Lewis,Cratsley,Demary 2004
		
		//Lewis,Cratsley,Demary 2004 imprecision +/- 30msec
//		{"NAME", "p", "f", "pre", "i", "m", "b", "e", "max", "min", "relax"},
		
	};
	
	/** 
	 * Next static Strings explicits the corripondence between<p> 
	 * column name == array index <p>
	 * for the previous {@link #data} table.  
	 */
 	public static int NAME = 0;
 	public static int PERIOD = 1;
 	public static int PULSE_DURATION = 2;
 	public static int PREP = 3;
 	public static int INERT = 4;
 	public static int MODEL = 5;
 	public static int B = 6;
 	public static int EPSILON = 7;
 	public static int MAX = 8;
 	public static int MIN = 9;
 	public static int RELAXATION = 10;
}
