c

org.nlogo.agent

Torus3D

class Torus3D extends Torus with Topology3D

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Torus3D
  2. Topology3D
  3. Torus
  4. YWraps
  5. XWraps
  6. Topology
  7. Neighbors
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Torus3D(_world3d: World3D)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  6. def diffuse(diffuseparam: Double, vn: Int): Unit
    Definition Classes
    Torus3DTopology
    Annotations
    @throws( classOf[AgentException] ) @throws( classOf[PatchException] )
  7. def diffuse4(amount: Double, vn: Int): Unit
    Definition Classes
    Topology
    Annotations
    @throws( classOf[AgentException] ) @throws( classOf[PatchException] )
  8. def diffuseCenter(amount: Double, vn: Int, fourWay: Boolean, scratch: Array[Array[Double]]): Unit
    Attributes
    protected
    Definition Classes
    Topology
  9. def diffuseCorners(amount: Double, vn: Int, fourWay: Boolean, scratch: Array[Array[Double]]): Unit
    Attributes
    protected
    Definition Classes
    TorusTopology
  10. def diffuseXBorder(amount: Double, vn: Int, fourWay: Boolean, scratch: Array[Array[Double]]): Unit
    Attributes
    protected
    Definition Classes
    XWrapsTopology
  11. def diffuseYBorder(amount: Double, vn: Int, fourWay: Boolean, scratch: Array[Array[Double]]): Unit
    Definition Classes
    YWrapsTopology
  12. def distanceWrap(_dx: Double, _dy: Double, _dz: Double, x1: Double, y1: Double, z1: Double, x2: Double, y2: Double, z2: Double): Double
    Definition Classes
    Torus3DTopology3D
  13. def distanceWrap(dx: Double, dy: Double, x1: Double, y1: Double, x2: Double, y2: Double): Double
    Definition Classes
    TorusTopology
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def followOffsetX: Double
    Definition Classes
    Topology
  17. def followOffsetY: Double
    Definition Classes
    Topology
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  19. def getNeighbors(source: Patch): IndexedAgentSet
    Definition Classes
    Neighbors
  20. def getNeighbors3d(source: Patch3D): IndexedAgentSet
    Definition Classes
    Torus3DTopology3D
  21. def getNeighbors4(source: Patch): IndexedAgentSet
    Definition Classes
    Neighbors
  22. def getNeighbors6(source: Patch3D): IndexedAgentSet
    Definition Classes
    Torus3DTopology3D
  23. def getPE(source: Patch): Patch
    Definition Classes
    Torus3DTorusNeighbors
  24. def getPED(source: Patch3D): Patch
    Definition Classes
    Torus3DTopology3D
  25. def getPEU(source: Patch3D): Patch
    Definition Classes
    Torus3DTopology3D
  26. def getPN(source: Patch): Patch
    Definition Classes
    Torus3DTorusNeighbors
  27. def getPND(source: Patch3D): Patch
    Definition Classes
    Torus3DTopology3D
  28. def getPNE(source: Patch): Patch
    Definition Classes
    Torus3DTorusNeighbors
  29. def getPNED(source: Patch3D): Patch
    Definition Classes
    Torus3DTopology3D
  30. def getPNEU(source: Patch3D): Patch
    Definition Classes
    Torus3DTopology3D
  31. def getPNU(source: Patch3D): Patch
    Definition Classes
    Torus3DTopology3D
  32. def getPNW(source: Patch): Patch
    Definition Classes
    Torus3DTorusNeighbors
  33. def getPNWD(source: Patch3D): Patch
    Definition Classes
    Torus3DTopology3D
  34. def getPNWU(source: Patch3D): Patch
    Definition Classes
    Torus3DTopology3D
  35. def getPS(source: Patch): Patch
    Definition Classes
    Torus3DTorusNeighbors
  36. def getPSD(source: Patch3D): Patch
    Definition Classes
    Torus3DTopology3D
  37. def getPSE(source: Patch): Patch
    Definition Classes
    Torus3DTorusNeighbors
  38. def getPSED(source: Patch3D): Patch
    Definition Classes
    Torus3DTopology3D
  39. def getPSEU(source: Patch3D): Patch
    Definition Classes
    Torus3DTopology3D
  40. def getPSU(source: Patch3D): Patch
    Definition Classes
    Torus3DTopology3D
  41. def getPSW(source: Patch): Patch
    Definition Classes
    Torus3DTorusNeighbors
  42. def getPSWD(source: Patch3D): Patch
    Definition Classes
    Torus3DTopology3D
  43. def getPSWU(source: Patch3D): Patch
    Definition Classes
    Torus3DTopology3D
  44. def getPW(source: Patch): Patch
    Definition Classes
    Torus3DTorusNeighbors
  45. def getPWD(source: Patch3D): Patch
    Definition Classes
    Torus3DTopology3D
  46. def getPWU(source: Patch3D): Patch
    Definition Classes
    Torus3DTopology3D
  47. def getPatchAt(xc: Double, yc: Double, zc: Double): Patch
    Definition Classes
    Torus3DTopology3D
    Annotations
    @throws( classOf[AgentException] )
  48. def getPatchDown(source: Patch3D): Patch
  49. def getPatchScratch(vn: Int): Array[Array[Double]]
    Attributes
    protected
    Definition Classes
    Topology
  50. def getPatchUp(source: Patch3D): Patch
  51. def getRegion(initialX: Int, initialY: Int, initialR: Int): ArrayList[(Int, Int)]
    Definition Classes
    Topology
  52. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  53. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  54. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  55. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  56. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  57. def observerZ: Double
    Definition Classes
    Torus3DTopology3D
  58. def shortestPathX(x1: Double, x2: Double): Double
    Definition Classes
    TorusTopology
  59. def shortestPathY(y1: Double, y2: Double): Double
    Definition Classes
    TorusTopology
  60. def shortestPathZ(z1: Double, z2: Double): Double
    Definition Classes
    Torus3DTopology3D
  61. final def sum4(a: Double, b: Double, c: Double, d: Double): Double

    This method returns a consistent sum of the four numbers regardless of their order.

    This method returns a consistent sum of the four numbers regardless of their order.

    Floating point addition is commutative but NOT associative. Hence, the sum of a set of numbers will change depending on their order. This procedure fixes that by summing the numbers as: (2 lowest) + (2 highest). The naive fix to this problem is to sort the numbers before summing. However, this is slow and unnecessary. Instead, we split the numbers into two groups, such that each group contains either the two highest or the two lowest numbers (though we don't necessarily know which group is which). We then sum each group separately, and then sum their sums. This works because we can rely on the commutativity of floats. -- BCH 10/15/2017

    Attributes
    protected
    Definition Classes
    Topology
    Annotations
    @inline()
  62. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  63. def toString(): String
    Definition Classes
    AnyRef → Any
  64. def towardsPitchWrap(_dx: Double, _dy: Double, _dz: Double): Double
    Definition Classes
    Torus3DTopology3D
  65. def towardsWrap(headingX: Double, headingY: Double): Double
    Definition Classes
    TorusTopology
  66. final def updatePatch(amount: Double, vn: Int, directions: Int, x: Int, y: Int, oldVal: Double, sum: Double): Unit
    Attributes
    protected
    Definition Classes
    Topology
    Annotations
    @inline()
  67. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  69. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. val world: World
    Definition Classes
    Topology
  71. def wrapX(x: Double): Double
    Definition Classes
    TorusXWrapsTopology
  72. def wrapY(y: Double): Double
    Definition Classes
    TorusYWrapsTopology
  73. def wrapZ(z: Double): Double
    Definition Classes
    Torus3DTopology3D
  74. val xWraps: Boolean
    Definition Classes
    XWrapsTopology
  75. val yWraps: Boolean
    Definition Classes
    YWrapsTopology

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Topology3D

Inherited from Torus

Inherited from YWraps

Inherited from XWraps

Inherited from Topology

Inherited from Neighbors

Inherited from AnyRef

Inherited from Any

Ungrouped