org.primordion.user.app.WolfSheepGrass
Class AppWolfSheepGrass
java.lang.Object
org.primordion.xholon.base.Xholon
org.primordion.xholon.app.Application
org.primordion.user.app.WolfSheepGrass.AppWolfSheepGrass
- All Implemented Interfaces:
- CeWolfSheepGrass, IApplication, IXholon
- public class AppWolfSheepGrass
- extends Application
- implements CeWolfSheepGrass
Wolf Sheep Grass.
- Since:
- 0.5 (Created on March 1, 2007)
- Author:
- Ken Webb
- See Also:
original NetLogo wolf sheep predation model is: Copyright 1998 Uri Wilensky. All rights reserved.
See http://ccl.northwestern.edu/netlogo/models/WolfSheepPredation for terms of use.
Fields inherited from interface org.primordion.user.app.WolfSheepGrass.CeWolfSheepGrass |
AggregatorCE, GrassCE, includeCE, PatchOwnerCE, RowCE, SheepCE, TheSystemCE, TurtleCE, TurtleObserverCE, WolfCE, XholonClassCE |
Methods inherited from class org.primordion.xholon.app.Application |
about, appMain, getApplication, getAppM, getAppRoot, getClass, getClassDetailsFile, getCompositeStructureHierarchyFile, getControllerState, getDataPlotterParams, getErrorM, getGraphicalNetworkViewerClassName, getGraphicalNetworkViewerParams, getGraphicalTreeViewerParams, getGridPanelClassName, getHistogramPlotterParams, getInfoM, getInformationFile, getInheritanceHierarchyFile, getInteractionParams, getJavaActivityClassName, getJavaClassName, getJavaXhClassClassName, getJavaXhClassName, getMaxActivities, getMaxPorts, getMaxProcessLoops, getMaxStateMachineEntities, getMaxXholonClasses, getMaxXholons, getModelName, getRandomNumberSeed, getRoot, getSaveSnapshots, getSizeMessageQueue, getSnapshotParams, getTimeStepInterval, getTreeNodeFactoryDynamic, getUseDataPlotter, getUseGnuplot_Hist, getUseGnuplot, getUseGraphicalNetworkViewer, getUseGraphicalTreeViewer, getUseGridViewer, getUseHistogramPlotter, getUseInteractions, getUseJFreeChart_Hist, getUseJFreeChart, getUseTextTree, getUseVrml, getVrmlParams, getVrmlWriterClassName, getXhymAgent, getXincludePath, information, initControl, initGui, initViewers, invokeDataPlotter, invokeGraphicalNetworkViewer, invokeGraphicalNetworkViewer, invokeGraphicalTreeViewer, invokeGraphicalTreeViewer, invokeHistogramPlotter, invokeInteraction, process, readConfigFromFileXml, resetViewers, saveSnapshot, setApplication, setAppM, setClassDetailsFile, setCompositeStructureHierarchyFile, setControllerState, setDataPlotterParams, setErrorM, setGraphicalNetworkViewerClassName, setGraphicalNetworkViewerParams, setGraphicalTreeViewerParams, setGridPanelClassName, setGridViewerParams, setHistogramPlotterParams, setInfoM, setInformationFile, setInheritanceHierarchyFile, setInteractionParams, setJavaActivityClassName, setJavaClassName, setJavaXhClassClassName, setJavaXhClassName, setMaxActivities, setMaxPorts, setMaxProcessLoops, setMaxStateMachineEntities, setMaxXholonClasses, setMaxXholons, setModelName, setParam, setRandomNumberSeed, setSaveSnapshots, setSizeMessageQueue, setSnapshotParams, setTimeStepInterval, setTreeNodeFactoryDynamic, setUseDataPlotter, setUseGraphicalNetworkViewer, setUseGraphicalTreeViewer, setUseGridViewer, setUseHistogramPlotter, setUseInteractions, setUseTextTree, setUseVrml, setVrmlParams, setVrmlWriterClassName, setXhymAgent, setXincludePath |
Methods inherited from class org.primordion.xholon.base.Xholon |
act, appendChild, appendChild, appendChild, cleanup, configure, configure, createStructure, decVal, decVal, depth, draw, getChildNodes, getFirstChild, getFirstSibling, getId, getLastChild, getLastSibling, getName, getNeighbors, getNextId, getNextSibling, getNthChild, getNthSibling, getNumChildren, getNumSiblings, getParentNode, getPort, getPreviousSibling, getRoleName, getRootNode, getSiblings, getSizeMessageQ, getUid, getVal_boolean, getVal_byte, getVal_char, getVal_double, getVal_float, getVal_int, getVal_long, getVal_Object, getVal_short, getVal_String, getVal, getXhc, getXhcId, getXhcName, getXhType, handleNodeSelection, hasAncestor, hasChildNodes, hasChildOrSiblingNodes, hasNextSibling, hasParentNode, height, incVal, incVal, initialize, initStatics, inOrderPrint, insertAfter, insertBefore, insertFirstChild, isActiveObject, isBound, isContainer, isExternal, isInternal, isLeaf, isPassiveObject, isRootNode, performActivity, performActivity, performBooleanActivity, performBooleanActivity, performDoubleActivity, performGuard, performVoidActivity, postAct, postConfigure, postOrderPrint, postReconfigure, preAct, preConfigure, preOrderPrint, preReconfigure, print, println, processMessageQ, processReceivedMessage, reconfigure, remove, removeChild, resetNextId, sendMessage, sendMessage, sendMessage, setAttributeVal, setFactory, setFirstChild, setId, setNextSibling, setParentChildLinks, setParentNode, setParentSiblingLinks, setPorts, setRoleName, setSizeMessageQ, setUid, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVariableValue, setXhc, swapNode, terminate, toString, treeSize, writeXml |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.primordion.xholon.base.IXholon |
act, appendChild, appendChild, appendChild, cleanup, configure, configure, createStructure, decVal, decVal, depth, draw, getChildNodes, getFirstChild, getFirstSibling, getId, getLastChild, getLastSibling, getName, getNeighbors, getNextSibling, getNthChild, getNthSibling, getNumChildren, getNumSiblings, getParentNode, getPort, getPreviousSibling, getRoleName, getRootNode, getSiblings, getUid, getVal_boolean, getVal_byte, getVal_char, getVal_double, getVal_float, getVal_int, getVal_long, getVal_Object, getVal_short, getVal_String, getVal, getXhc, getXhcId, getXhcName, getXhType, handleNodeSelection, hasAncestor, hasChildNodes, hasChildOrSiblingNodes, hasNextSibling, hasParentNode, height, incVal, incVal, initialize, initStatics, inOrderPrint, insertAfter, insertBefore, insertFirstChild, isActiveObject, isBound, isContainer, isExternal, isInternal, isLeaf, isPassiveObject, isRootNode, performActivity, performActivity, performBooleanActivity, performBooleanActivity, performDoubleActivity, performGuard, performVoidActivity, postAct, postConfigure, postOrderPrint, postReconfigure, preAct, preConfigure, preOrderPrint, preReconfigure, print, println, processMessageQ, processReceivedMessage, reconfigure, remove, removeChild, sendMessage, sendMessage, sendMessage, setAttributeVal, setFirstChild, setId, setNextSibling, setParentChildLinks, setParentNode, setParentSiblingLinks, setPorts, setRoleName, setUid, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVariableValue, setXhc, swapNode, terminate, treeSize, writeXml |
AppWolfSheepGrass
public AppWolfSheepGrass()
initialize
public void initialize(java.lang.String configFileName)
- Description copied from interface:
IApplication
- Initialize the application.
- Specified by:
initialize
in interface IApplication
- Overrides:
initialize
in class Application
setGrowGrass
public void setGrowGrass(boolean GrowGrass)
getGrowGrass
public boolean getGrowGrass()
setGrassRegrowthTime
public void setGrassRegrowthTime(int GrassRegrowthTime)
getGrassRegrowthTime
public int getGrassRegrowthTime()
setInitialNumberSheep
public static void setInitialNumberSheep(int InitialNumberSheep)
getInitialNumberSheep
public static int getInitialNumberSheep()
setSheepGainFromFood
public static void setSheepGainFromFood(double SheepGainFromFood)
getSheepGainFromFood
public static double getSheepGainFromFood()
setSheepReproduce
public static void setSheepReproduce(double SheepReproduce)
getSheepReproduce
public static double getSheepReproduce()
setInitialNumberWolves
public static void setInitialNumberWolves(int InitialNumberWolves)
getInitialNumberWolves
public static int getInitialNumberWolves()
setWolfGainFromFood
public static void setWolfGainFromFood(double WolfGainFromFood)
getWolfGainFromFood
public static double getWolfGainFromFood()
setWolfReproduce
public static void setWolfReproduce(double WolfReproduce)
getWolfReproduce
public static double getWolfReproduce()
wrapup
public void wrapup()
- Description copied from interface:
IApplication
- Wrapup any unfinished business in the application.
- Specified by:
wrapup
in interface IApplication
- Overrides:
wrapup
in class Application
main
public static void main(java.lang.String[] args)