agent

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2022 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type A

type A interface {
	// P returns the current location of the agent.
	P() vector.V

	// V returns the current velocity vector of the agent.
	V() vector.V

	// R returns the characteristic size of the agent.
	R() float64

	// T returns the target (read: preferred) velocity vector of the agent,
	// e.g. a vector which points to the next waypoint node, with the
	// maximum speed of the agent.
	T() vector.V

	// S returns the maximum speed of the agent.
	S() float64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL