クラス ObserverSwarm

java.lang.Object
  拡張swarm.BaseImpl
      拡張swarm.simtoolsgui.GUISwarmImpl
          拡張ObserverSwarm
すべての実装インタフェース:
swarm.activity.ActionType, swarm.activity.ActionTypeS, swarm.defobj.Create, swarm.defobj.CreateS, swarm.defobj.Customize, swarm.defobj.CustomizeS, swarm.defobj.DefinedObject, swarm.defobj.DefinedObjectS, swarm.defobj.Drop, swarm.defobj.DropS, swarm.defobj.GetName, swarm.defobj.GetNameS, swarm.simtoolsgui.GUISwarm, swarm.simtoolsgui.GUISwarmS, swarm.objectbase.Swarm, swarm.activity.SwarmProcess, swarm.activity.SwarmProcessS, swarm.objectbase.SwarmS, swarm.activity.SynchronizationType, swarm.activity.SynchronizationTypeS, swarm.simtoolsgui.WindowGeometryRecordName, swarm.simtoolsgui.WindowGeometryRecordNameS, swarm.defobj.Zone, swarm.defobj.ZoneS

public class ObserverSwarm
extends swarm.simtoolsgui.GUISwarmImpl


フィールドの概要
(パッケージプライベート)  java.util.LinkedList clusterSizeData
           
(パッケージプライベート)  swarm.analysis.EZBin clusterSizeHist
           
(パッケージプライベート)  swarm.gui.Colormap colorMap
           
(パッケージプライベート)  swarm.activity.ActionGroup displayActions
           
(パッケージプライベート)  swarm.activity.Schedule displaySchedule
           
 int graphInterval
           
(パッケージプライベート)  ModelSwarm modelSwarm
           
(パッケージプライベート)  swarm.space.Value2dDisplay patternDisplay
           
(パッケージプライベート)  swarm.gui.ZoomRaster patternRaster
           
(パッケージプライベート)  swarm.analysis.EZGraph resultGraph
           
(パッケージプライベート)  swarm.activity.ActionGroup statActions
           
(パッケージプライベート)  swarm.activity.Schedule statSchedule
           
 
クラス swarm.simtoolsgui.GUISwarmImpl から継承したフィールド
actionCache, controlPanel
 
クラス swarm.BaseImpl から継承したフィールド
 
コンストラクタの概要
ObserverSwarm(swarm.defobj.Zone aZone)
           
 
メソッドの概要
 java.lang.Object _resultGraphDeath_(java.lang.Object caller)
           
 swarm.activity.Activity activateIn(swarm.objectbase.Swarm context)
           
 java.lang.Object buildActions()
          2つのスケジュールを用いる。
 java.lang.Object buildObjects()
           
 void checkToStop()
          終了の判定
ModelSwarmが停止していたら、最終処理をして停止。
 double getPercolationProb()
          浸透確率の問い合わせる。
 double getRelativeClusterNum()
          クラスタ数の問い合わせ
 java.lang.Object showHist()
          ヒストグラムの更新
 java.lang.Object showStats()
          統計データ(クラスタリングも含む)の更新
(パッケージプライベート)  void updateClusterSizeData()
          showHistの補助メソッド
 
クラス swarm.simtoolsgui.GUISwarmImpl から継承したメソッド
allocIVars, allocIVarsComponent, compare, copyIVars, copyIVarsComponent, describe, describeForEach, describeForEachID, describeID, drop, freeIVars, freeIVarsComponent, getActionCache, getActivity, getCompleteProbeMap, getComponentZone, getControlPanel, getDisplayName, getInternalZone, getName, getPageSize, getPopulation, getProbeForVariable, getProbeMap, getSynchronizationType, getTypeName, getZone, go, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

graphInterval

public int graphInterval

displayActions

swarm.activity.ActionGroup displayActions

statActions

swarm.activity.ActionGroup statActions

displaySchedule

swarm.activity.Schedule displaySchedule

statSchedule

swarm.activity.Schedule statSchedule

modelSwarm

ModelSwarm modelSwarm

colorMap

swarm.gui.Colormap colorMap

patternRaster

swarm.gui.ZoomRaster patternRaster

patternDisplay

swarm.space.Value2dDisplay patternDisplay

resultGraph

swarm.analysis.EZGraph resultGraph

clusterSizeHist

swarm.analysis.EZBin clusterSizeHist

clusterSizeData

java.util.LinkedList clusterSizeData
コンストラクタの詳細

ObserverSwarm

public ObserverSwarm(swarm.defobj.Zone aZone)
メソッドの詳細

buildObjects

public java.lang.Object buildObjects()

getPercolationProb

public double getPercolationProb()
浸透確率の問い合わせる。


getRelativeClusterNum

public double getRelativeClusterNum()
クラスタ数の問い合わせ


buildActions

public java.lang.Object buildActions()
2つのスケジュールを用いる。ひとつは画面の更新、 統計データ(クラスタの判定も含む)の更新
クラスタリングの計算は重いことが予想されるから、 graphIntervalの間隔で行う(初期値は10だが、Probeから変更できる)。


activateIn

public swarm.activity.Activity activateIn(swarm.objectbase.Swarm context)

_resultGraphDeath_

public java.lang.Object _resultGraphDeath_(java.lang.Object caller)

showStats

public java.lang.Object showStats()
統計データ(クラスタリングも含む)の更新


showHist

public java.lang.Object showHist()
ヒストグラムの更新


updateClusterSizeData

void updateClusterSizeData()
showHistの補助メソッド


checkToStop

public void checkToStop()
終了の判定
ModelSwarmが停止していたら、最終処理をして停止。