クラス Cell

java.lang.Object
  |
  +--Cell
直系の既知のサブクラス:
CellBasic, CellTraffic

public class Cell
extends java.lang.Object

RCCA (Rear Confirmation Cellular Automation) model


内部クラスの概要
 class Cell.Unit
           
 
フィールドの概要
(パッケージプライベート)  Cell.Unit[][][] m_cellular
          セルオブジェクト
(パッケージプライベート)  int m_cellularXMax
          セルオブジェクトの最大値(セルオブジェクトを生成したときに値をセットする)
(パッケージプライベート)  int m_cellularYMax
           
(パッケージプライベート)  int m_cellularZMax
           
(パッケージプライベート)  double m_density
           
(パッケージプライベート)  int m_initialiPosition
          TRUEセル初期状態の計算方法 0: random 1: 左から1つづつ置く 2: 等間隔
(パッケージプライベート)  MainPanel m_mainPanel
          MainPanelのポインタを保持
(パッケージプライベート)  javax.swing.JLabel m_statusLabel
           
(パッケージプライベート)  javax.swing.JTextField m_txDensity
           
(パッケージプライベート)  javax.swing.JTextField m_txInitialiPosition
           
 
コンストラクタの概要
Cell()
           
 
メソッドの概要
(パッケージプライベート)  double addDensity(double addDensity)
           
(パッケージプライベート)  double addDouble(double data, double add)
           
(パッケージプライベート)  double addDouble(double data, double add, double max)
           
(パッケージプライベート)  double addDouble(double data, double add, double max, double min)
           
(パッケージプライベート)  void applyDisplayElements()
           
(パッケージプライベート)  boolean createUnit(java.lang.Integer xOrder, java.lang.Integer yOrder, java.lang.Integer zOrder)
           
(パッケージプライベート)  boolean executeCells()
           
(パッケージプライベート)  void initializeCellsLocation(java.awt.Dimension size)
           
(パッケージプライベート)  void initializeCellsStatus()
           
(パッケージプライベート)  void paintCells(java.awt.Graphics g)
           
(パッケージプライベート)  void setDisplayElements(java.awt.Container control, java.awt.Container left)
           
(パッケージプライベート)  void setMainPanel(MainPanel mainPanel, javax.swing.JLabel statusLabel)
           
(パッケージプライベート)  void stopExecute()
           
 
クラス java.lang.Object から継承したメソッド
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

フィールドの詳細

m_initialiPosition

int m_initialiPosition
TRUEセル初期状態の計算方法 0: random 1: 左から1つづつ置く 2: 等間隔

m_density

double m_density

m_txDensity

javax.swing.JTextField m_txDensity

m_txInitialiPosition

javax.swing.JTextField m_txInitialiPosition

m_mainPanel

MainPanel m_mainPanel
MainPanelのポインタを保持

m_statusLabel

javax.swing.JLabel m_statusLabel

m_cellular

Cell.Unit[][][] m_cellular
セルオブジェクト

m_cellularXMax

int m_cellularXMax
セルオブジェクトの最大値(セルオブジェクトを生成したときに値をセットする)

m_cellularYMax

int m_cellularYMax

m_cellularZMax

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

Cell

public Cell()
メソッドの詳細

setDisplayElements

void setDisplayElements(java.awt.Container control,
                        java.awt.Container left)

applyDisplayElements

void applyDisplayElements()

addDensity

double addDensity(double addDensity)

addDouble

double addDouble(double data,
                 double add)

addDouble

double addDouble(double data,
                 double add,
                 double max)

addDouble

double addDouble(double data,
                 double add,
                 double max,
                 double min)

setMainPanel

void setMainPanel(MainPanel mainPanel,
                  javax.swing.JLabel statusLabel)

stopExecute

void stopExecute()

initializeCellsStatus

void initializeCellsStatus()

initializeCellsLocation

void initializeCellsLocation(java.awt.Dimension size)

paintCells

void paintCells(java.awt.Graphics g)

createUnit

boolean createUnit(java.lang.Integer xOrder,
                   java.lang.Integer yOrder,
                   java.lang.Integer zOrder)

executeCells

boolean executeCells()