class Torus extends Topology with XWraps with YWraps
Ordering
- Alphabetic
- By Inheritance
Inherited
- Torus
- YWraps
- XWraps
- Topology
- Neighbors
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
diffuse(amount: Double, vn: Int): Unit
- Definition Classes
- Topology
- Annotations
- @throws( classOf[AgentException] ) @throws( classOf[PatchException] )
-
def
diffuse4(amount: Double, vn: Int): Unit
- Definition Classes
- Topology
- Annotations
- @throws( classOf[AgentException] ) @throws( classOf[PatchException] )
- def diffuseYBorder(amount: Double, vn: Int, fourWay: Boolean, scratch: Array[Array[Double]]): Unit
- def distanceWrap(dx: Double, dy: Double, x1: Double, y1: Double, x2: Double, y2: Double): Double
-
def
followOffsetX: Double
- Definition Classes
- Topology
-
def
followOffsetY: Double
- Definition Classes
- Topology
-
def
getNeighbors(source: Patch): IndexedAgentSet
- Definition Classes
- Neighbors
-
def
getNeighbors4(source: Patch): IndexedAgentSet
- Definition Classes
- Neighbors
- def getPE(source: Patch): Patch
- def getPN(source: Patch): Patch
- def getPNE(source: Patch): Patch
- def getPNW(source: Patch): Patch
- def getPS(source: Patch): Patch
- def getPSE(source: Patch): Patch
- def getPSW(source: Patch): Patch
- def getPW(source: Patch): Patch
-
def
getRegion(initialX: Int, initialY: Int, initialR: Int): ArrayList[(Int, Int)]
- Definition Classes
- Topology
- def shortestPathX(x1: Double, x2: Double): Double
- def shortestPathY(y1: Double, y2: Double): Double
- def towardsWrap(headingX: Double, headingY: Double): Double
-
val
world: World
- Definition Classes
- Topology
- def wrapX(x: Double): Double
- def wrapY(y: Double): Double
- val xWraps: Boolean
- val yWraps: Boolean