C# 클래스 SharpNeat.DomainsExtra.InvertedDoublePendulum.InvertedDoublePendulumWorld

Evaluator for the inverted double pendulum task.
상속: SharpNeat.DomainsExtra.Box2D.SimulationWorld
파일 보기 프로젝트 열기: colgreen/sharpneat 1 사용 예제들

공개 메소드들

메소드 설명
InitSimulationWorld ( ) : void

Inititialise world.

InvertedDoublePendulumWorld ( ) : Box2DX.Collision

Construct with default world settings.

InvertedDoublePendulumWorld ( float trackLength, float cartJointInitialAngle, float elbowJointInitialAngle ) : Box2DX.Collision

Construct with specified world settings.

SetCartForce ( float n ) : void

Set horizontal force in newtons to apply to cart.

보호된 메소드들

메소드 설명
PopulateWorld ( ) : void

Add objects to the Box2d world.

비공개 메소드들

메소드 설명
CalcPoleEndPos ( Body poleBody ) : Vec2
CreatePole ( Vec2 basePos, float angle, float radius, float friction, float restitution, float density, ushort layers ) : Body

메소드 상세

InitSimulationWorld() 공개 메소드

Inititialise world.
public InitSimulationWorld ( ) : void
리턴 void

InvertedDoublePendulumWorld() 공개 메소드

Construct with default world settings.
public InvertedDoublePendulumWorld ( ) : Box2DX.Collision
리턴 Box2DX.Collision

InvertedDoublePendulumWorld() 공개 메소드

Construct with specified world settings.
public InvertedDoublePendulumWorld ( float trackLength, float cartJointInitialAngle, float elbowJointInitialAngle ) : Box2DX.Collision
trackLength float
cartJointInitialAngle float
elbowJointInitialAngle float
리턴 Box2DX.Collision

PopulateWorld() 보호된 메소드

Add objects to the Box2d world.
protected PopulateWorld ( ) : void
리턴 void

SetCartForce() 공개 메소드

Set horizontal force in newtons to apply to cart.
public SetCartForce ( float n ) : void
n float
리턴 void