?? objectivevalueplot.java
字號:
package com.power.util.Message;import com.power.util.graph2D.*;import com.power.pipeengine.EngineUI.*;import java.util.ResourceBundle;import com.power.pipeengine.*;/** * <p>Title: PIPE Engine</p> * <p>Description: Global Planning Optimization Engine</p> * <p>Copyright: Copyright (c) 2002</p> * <p>Company: Paraster, Inc.</p> * @author Wei Tan * @version 1.0 *//** * ObjectiveValuePlot plots the objective values over iteration numbers in a * line chart. */public class ObjectiveValuePlot extends graphPanel implements UIInterface{ static ResourceBundle res = ResourceBundle.getBundle("com.power.util.Res", EngineConfig.getInstance().getLocale() ); private static final ObjectiveValuePlot INSTANCE = new ObjectiveValuePlot(); // Private constructor supresses // default public constructor private ObjectiveValuePlot( ) { super(); this.getXAxis().setAxisTitle( res.getString("Iteration") ); this.getYAxis().setAxisTitle( res.getString("Obj_Value") ); UIEventUpdateThread.getInstance().addUIObject( this ); } /** * Gets the global instance of the singular class object. * @return the global instance. */ public static ObjectiveValuePlot getInstance( ) { return INSTANCE; } public void updateDisplay() { super.repaint(); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -