クラス Collect

java.lang.Object
  |
  +--Collect

public class Collect
extends java.lang.Object

RCCA (Rear Confirmation Cellular Automation) model


フィールドの概要
(パッケージプライベート)  double m_allCountofStepEscapedFromJam
           
(パッケージプライベート)  int m_calcCount
          data
(パッケージプライベート)  int m_carCount
           
(パッケージプライベート)  int m_cellularMax
           
(パッケージプライベート)  int m_countJam
           
(パッケージプライベート)  int m_countofCarEscapedFromJam
           
(パッケージプライベート)  int m_ignoreCalcCount
          最初何ステップのデータを捨てるか(計測しない)かを決定する変数
(パッケージプライベート) static boolean m_isCollect
          データ収集をしない場合は、この変数にfalseをセット
(パッケージプライベート)  double m_jam
           
(パッケージプライベート)  boolean m_nextParameter
           
(パッケージプライベート)  int m_samOfJamLength
           
(パッケージプライベート)  java.lang.String m_saveDirectory
          データをセーブするフォルダ
(パッケージプライベート)  java.lang.String m_saveFilename
          セーブするファイル名
(パッケージプライベート)  double m_sumOfVelocity
           
(パッケージプライベート)  int m_unitCalcCount
          何ステップで1つのデータとするかを決定する変数
(パッケージプライベート)  int m_velocity0Count
           
(パッケージプライベート)  int m_velocity1Count
           
(パッケージプライベート)  int m_velocity2Count
           
(パッケージプライベート)  int m_velocity3Count
           
(パッケージプライベート)  int m_velocity4Count
           
(パッケージプライベート)  int m_velocity5Count
           
 
コンストラクタの概要
Collect()
           
 
メソッドの概要
(パッケージプライベート)  boolean endOneCalc(double data1, double data2, double data3)
          1ステップ時間の計算が終わったことの通知を受けるメソッド
(パッケージプライベート)  double getJam()
           
(パッケージプライベート)  void initData()
          initialize data
(パッケージプライベート)  void initialFile()
           
(パッケージプライベート)  void initialize(java.lang.String filename)
           
(パッケージプライベート)  void initNextParameter()
           
(パッケージプライベート) static boolean isCollect()
           
(パッケージプライベート)  boolean isNextParameter()
          データ記録のふしめが来たかどうかをチェックする
(パッケージプライベート)  void setDataAllPosition(int data)
           
(パッケージプライベート)  void setDataCheckPoint(double data)
           
(パッケージプライベート)  void setDataCountStop(int data)
           
(パッケージプライベート)  void setDataJamCountLength(int count, int length)
           
(パッケージプライベート) static void setIsCollect(boolean status)
           
(パッケージプライベート)  void setSellularMax(int cell)
           
(パッケージプライベート)  boolean writeFile(java.lang.String data)
           
 
クラス java.lang.Object から継承したメソッド
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

フィールドの詳細

m_unitCalcCount

int m_unitCalcCount
何ステップで1つのデータとするかを決定する変数

m_ignoreCalcCount

int m_ignoreCalcCount
最初何ステップのデータを捨てるか(計測しない)かを決定する変数

m_isCollect

static boolean m_isCollect
データ収集をしない場合は、この変数にfalseをセット

m_saveDirectory

final java.lang.String m_saveDirectory
データをセーブするフォルダ

m_saveFilename

java.lang.String m_saveFilename
セーブするファイル名

m_nextParameter

boolean m_nextParameter

m_cellularMax

int m_cellularMax

m_jam

double m_jam

m_calcCount

int m_calcCount
data

m_carCount

int m_carCount

m_velocity0Count

int m_velocity0Count

m_velocity1Count

int m_velocity1Count

m_velocity2Count

int m_velocity2Count

m_velocity3Count

int m_velocity3Count

m_velocity4Count

int m_velocity4Count

m_velocity5Count

int m_velocity5Count

m_sumOfVelocity

double m_sumOfVelocity

m_countofCarEscapedFromJam

int m_countofCarEscapedFromJam

m_allCountofStepEscapedFromJam

double m_allCountofStepEscapedFromJam

m_countJam

int m_countJam

m_samOfJamLength

int m_samOfJamLength
コンストラクタの詳細

Collect

public Collect()
メソッドの詳細

isCollect

static boolean isCollect()

setIsCollect

static void setIsCollect(boolean status)

initialize

void initialize(java.lang.String filename)

initialFile

void initialFile()

isNextParameter

boolean isNextParameter()
データ記録のふしめが来たかどうかをチェックする

initNextParameter

void initNextParameter()

endOneCalc

boolean endOneCalc(double data1,
                   double data2,
                   double data3)
1ステップ時間の計算が終わったことの通知を受けるメソッド

writeFile

boolean writeFile(java.lang.String data)

setSellularMax

void setSellularMax(int cell)

getJam

double getJam()

initData

void initData()
initialize data

setDataAllPosition

void setDataAllPosition(int data)

setDataCheckPoint

void setDataCheckPoint(double data)

setDataCountStop

void setDataCountStop(int data)

setDataJamCountLength

void setDataJamCountLength(int count,
                           int length)