|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmadkit.kernel.AbstractAgent
madkit.kernel.Watcher
edu.turtlekit2.kernel.agents.Observer
edu.turtlekit2.tools.fillers.NoiseGenerator
public class NoiseGenerator
Title : Gradient Builder.
Description : observer that build gradient of flavors in the environement. From a quantity X to 0.
XML Attributes :
Flavor: the fradient flavor. No default.
Origin: the origin of the gradient (position of the max quantity). "top", "left", "right", "bottom". default is top.
Quantity: the quantity of the flavor at the origin position. default is 10000.
Field Summary |
---|
Fields inherited from class edu.turtlekit2.kernel.agents.Observer |
---|
attrib, envHeight, envWidth, flavors, gridValues, patchGrid, probe1, probe2, simulationGroup |
Constructor Summary | |
---|---|
NoiseGenerator()
|
Method Summary | |
---|---|
void |
DoBasicfBm(double H,
double lacunarity,
double octaves)
|
void |
DoGradient()
|
void |
DoHeteroTerrain(double H,
double lacunarity,
double octaves,
double offset)
|
void |
DoHybridMultifractal(double H,
double lacunarity,
double octaves,
double offset)
|
void |
DoMultifractal(double H,
double lacunarity,
double octaves,
double offset)
|
void |
DoRidgedMultifractal(double H,
double lacunarity,
double octaves,
double offset,
double gain)
|
void |
DoUniform()
|
void |
setup()
override this method to make other initializations,not in constructor |
void |
watch()
override this method to observe the state of the world using turtle tables or/and the patchGrid variable |
Methods inherited from class edu.turtlekit2.kernel.agents.Observer |
---|
activate, flavorsContains, getAllValues, getAttrib, getBooleanParam, getBooleanParam, getColorParam, getColorParam, getDoubleParam, getDoubleParam, getFlavor, getFlavorName, getFlavors, getFloatParam, getFloatParam, getIntParam, getIntParam, getParam, getParam, getSimulationGroup, getStringParam, getStringParam, setAttrib, setFlavors |
Methods inherited from class madkit.kernel.Watcher |
---|
addProbe, addProbe, end, getProbes, removeAllProbes, removeProbe, update |
Methods inherited from class madkit.kernel.AbstractAgent |
---|
broadcastMessage, broadcastMessage, connectedWithCommunity, createGroup, createGroup, debug, disposeMyGUI, foundGroup, getAddress, getAgentInformation, getAgentsWithRole, getAgentsWithRole, getAgentWithRole, getAgentWithRole, getAvailableCommunities, getBean, getController, getCurrentKernelAddress, getDebug, getExistingGroups, getExistingGroups, getExistingRoles, getExistingRoles, getGroups, getGUIObject, getMessageBoxSize, getMyGroups, getMyGroups, getMyRoles, getMyRoles, getName, getRoles, hasGUI, hashCode, initGUI, isBelongingToGroup, isBelongingToGroup, isCommunity, isGroup, isGroup, isMemberOf, isMemberOf, isMessageBoxEmpty, isRole, isRole, joinGroup, killAgent, launchAgent, launchAgent, leaveGroup, leaveGroup, leaveRole, leaveRole, nextMessage, print, println, receiveMessage, redisplayMyGUI, requestRole, requestRole, requestRole, restoreAgent, sendMessage, sendMessage, sendMessage, setBean, setController, setDebug, setGUIObject, setName, setOutput, setOutputWriter, toString, windowClosing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NoiseGenerator()
Method Detail |
---|
public void DoBasicfBm(double H, double lacunarity, double octaves)
public void DoMultifractal(double H, double lacunarity, double octaves, double offset)
public void DoHeteroTerrain(double H, double lacunarity, double octaves, double offset)
public void DoHybridMultifractal(double H, double lacunarity, double octaves, double offset)
public void DoRidgedMultifractal(double H, double lacunarity, double octaves, double offset, double gain)
public void DoGradient()
public void DoUniform()
public void setup()
Observer
setup
in class Observer
public void watch()
Observer
watch
in class Observer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |