Index

A B C D E F G H L M N P R S T X Y Z 
All Classes and Interfaces|All Packages|Serialized Form

A

add(double, double) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
 
add(double, double, double) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
 
add(PVector) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_add.xml ) Adds x, y, and z components to a vector, adds one vector to another, or adds two independent vectors together.
add(PVector, PVector) - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Add two vectors
add(PVector, PVector, PVector) - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Add two vectors into a target vector
angleBetween(PVector, PVector) - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_angleBetween.xml ) Calculates and returns the angle (in radians) between two vectors.
array - Variable in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Array so that this can be temporarily used in an array context
array() - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_array.xml ) Return a representation of this vector as a double array.

B

Boundary - Class in com.JayPi4c.NeuroEvolution.plugins.util
Class to represent a boundary on the track.
Boundary(double, double, double, double) - Constructor for class com.JayPi4c.NeuroEvolution.plugins.util.Boundary
Creates a new Boundary as a line from (x1, y1) to (x2, y2).
Boundary(PVector, PVector) - Constructor for class com.JayPi4c.NeuroEvolution.plugins.util.Boundary
Creates a new Boundary as a line from a to b.
buildTrack() - Method in interface com.JayPi4c.NeuroEvolution.plugins.track.Track
(Re-)builds the track.
Afterwards the track is ready to be used and the attribute getters can be called.

C

com.JayPi4c.NeuroEvolution.plugins.track - package com.JayPi4c.NeuroEvolution.plugins.track
 
com.JayPi4c.NeuroEvolution.plugins.util - package com.JayPi4c.NeuroEvolution.plugins.util
 
copy() - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_copy.xml ) Gets a copy of the vector, returns a PVector object.
createBoundaries(List<PVector>, boolean) - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.Boundary
Creates a list of Boundaries from a list of points.
cross(PVector) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_cross.xml ) Calculates and returns a vector composed of the cross product between two vectors.
cross(PVector, PVector) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
 
cross(PVector, PVector, PVector) - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
 

D

dist(PVector) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_dist.xml ) Calculates the Euclidean distance between two points (considering a point as a vector object).
dist(PVector, PVector) - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
 
div(double) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_div.xml ) Divides a vector by a scalar or divides one vector by another.
div(PVector, double) - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Divide a vector by a scalar and return the result in a new vector.
div(PVector, double, PVector) - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Divide a vector by a scalar and store the result in another vector.
dot(double, double, double) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
 
dot(PVector) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_dot.xml ) Calculates the dot product of two vectors.
dot(PVector, PVector) - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
 

E

equals(Object) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
 

F

fromAngle(double) - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_sub.xml ) Make a new 2D unit vector from an angle.
fromAngle(double, PVector) - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Make a new 2D unit vector from an angle

G

get() - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Deprecated.
get(double[]) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
 
getA() - Method in class com.JayPi4c.NeuroEvolution.plugins.util.Boundary
Getter for the first point.
getB() - Method in class com.JayPi4c.NeuroEvolution.plugins.util.Boundary
Getter for the second point.
getCheckpoints() - Method in interface com.JayPi4c.NeuroEvolution.plugins.track.Track
Returns a list of boundries describing the checkpoints on the track.
getStart() - Method in interface com.JayPi4c.NeuroEvolution.plugins.track.Track
Returns a PVector containing the position on which the vehicles should start on the given track.
getStartVelocity() - Method in interface com.JayPi4c.NeuroEvolution.plugins.track.Track
Returns a PVector which points into the direction the vehicles should drive.
getTrackName() - Method in interface com.JayPi4c.NeuroEvolution.plugins.track.Track
Returns the name identifying the track.
getWalls() - Method in interface com.JayPi4c.NeuroEvolution.plugins.track.Track
Returns a list of boundries describing the walls of the track.

H

hashCode() - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
 
heading() - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_setMag.xml ) Calculate the angle of rotation for this vector (only 2D vectors) ( end auto-generated )
heading2D() - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Deprecated.

L

limit(double) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_limit.xml ) Limit the magnitude of this vector to the value used for the max parameter.

M

mag() - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_mag.xml ) Calculates the magnitude (length) of the vector and returns the result as a double (this is simply the equation sqrt(x*x + y*y + z*z).) ( end auto-generated )
magSq() - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_mag.xml ) Calculates the squared magnitude of the vector and returns the result as a double (this is simply the equation (x*x + y*y + z*z).) Faster if the real length is not required in the case of comparing vectors, etc.
midPoint() - Method in class com.JayPi4c.NeuroEvolution.plugins.util.Boundary
Calculats the middle point of the boundary.
mult(double) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_mult.xml ) Multiplies a vector by a scalar or multiplies one vector by another.
mult(PVector, double) - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
 
mult(PVector, double, PVector) - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Multiply a vector by a scalar, and write the result into a target PVector.

N

normalize() - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_normalize.xml ) Normalize the vector to length 1 (make it a unit vector).
normalize(PVector) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
 

P

PVector - Class in com.JayPi4c.NeuroEvolution.plugins.util
( begin auto-generated from PVector.xml ) A class to describe a two or three dimensional vector.
PVector() - Constructor for class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Constructor for an empty vector: x, y, and z are set to 0.
PVector(double, double) - Constructor for class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Constructor for a 2D vector: z coordinate is set to 0.
PVector(double, double, double) - Constructor for class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Constructor for a 3D vector.

R

random2D() - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_random2D.xml ) Make a new 2D unit vector with a random direction.
random2D(PVector) - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Set a 2D vector to a random unit vector with a random direction
random3D() - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_random3D.xml ) Make a new 3D unit vector with a random direction.
random3D(PVector) - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Set a 3D vector to a random unit vector with a random direction
rotate(double) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_rotate.xml ) Rotate the vector by an angle (only 2D vectors), magnitude remains the same ( end auto-generated )

S

set(double[]) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Set the x, y (and maybe z) coordinates using a double[] array as the source.
set(double, double) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
 
set(double, double, double) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_set.xml ) Sets the x, y, and z component of the vector using two or three separate variables, the data from a PVector, or the values from a double array.
set(PVector) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
 
setMag(double) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_setMag.xml ) Set the magnitude of this vector to the value used for the len parameter.
setMag(PVector, double) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Sets the magnitude of this vector, storing the result in another vector.
sub(double, double) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
 
sub(double, double, double) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
 
sub(PVector) - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_sub.xml ) Subtracts x, y, and z components from a vector, subtracts one vector from another, or subtracts two independent vectors.
sub(PVector, PVector) - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Subtract one vector from another
sub(PVector, PVector, PVector) - Static method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
Subtract one vector from another and store in another vector

T

toString() - Method in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
 
Track - Interface in com.JayPi4c.NeuroEvolution.plugins.track
Interface for a track.

X

x - Variable in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_x.xml ) The x component of the vector.

Y

y - Variable in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_y.xml ) The y component of the vector.

Z

z - Variable in class com.JayPi4c.NeuroEvolution.plugins.util.PVector
( begin auto-generated from PVector_z.xml ) The z component of the vector.
A B C D E F G H L M N P R S T X Y Z 
All Classes and Interfaces|All Packages|Serialized Form