objectivevalueplot.java
来自「著名IT公司ILog的APS高级排产优化引擎」· Java 代码 · 共 50 行
JAVA
50 行
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 + =
减小字号Ctrl + -
显示快捷键?