C# Class LinkTansegrity_IA

Inheritance: MonoBehaviour
ファイルを表示 Open project: fabelier/tansegrity-game

Public Properties

Property Type Description
dist_arrival double
isFinished bool
max_increment int
mySelf GameObject
neuroNet geneticAlgo.indiv
tansegrity GameObject

Public Methods

Method Description
Init ( indiv saved_neuroNet, GameObject mySelf, bool color = false ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
calcEval ( double dist_arrival, double nb_increment, double speed ) : double
dividVect ( Vector3 a, Vector3 b ) : Vector3
isTansMoving ( List output, int identicalParam = 500 ) : void
multiplVect ( Vector3 a, Vector3 b ) : Vector3
setMinMax ( ) : void

Method Details

Init() public method

public Init ( indiv saved_neuroNet, GameObject mySelf, bool color = false ) : void
saved_neuroNet geneticAlgo.indiv
mySelf GameObject
color bool
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

dist_arrival public_oe property

public double dist_arrival
return double

isFinished public_oe property

public bool isFinished
return bool

max_increment public_oe property

public int max_increment
return int

mySelf public_oe property

public GameObject mySelf
return GameObject

neuroNet public_oe property

public indiv,geneticAlgo neuroNet
return geneticAlgo.indiv

tansegrity public_oe property

public GameObject tansegrity
return GameObject