00001 00004 package edu.rice.cs.hpc.data.experiment.metric; 00005 00006 import com.graphbuilder.math.FuncMap; 00007 00012 public class ExtFuncMap extends FuncMap { 00013 00017 public ExtFuncMap() { 00018 // TODO Auto-generated constructor stub 00019 super(false); 00020 } 00021 00025 public ExtFuncMap(boolean caseSensitive) { 00026 super(caseSensitive); 00027 } 00028 00029 /*** 00030 * construct list of function specifically for hpcdata 00031 * @param metrics: list of metrics 00032 * @param rootscope: a root scope (any root scope will do) 00033 */ 00034 public ExtFuncMap(BaseMetric []metrics) { 00035 super(false); 00036 this.init(metrics); 00037 } 00038 00039 public void init(BaseMetric []metrics) { 00040 00041 StdDevFunction fctStdDev = new StdDevFunction(); 00042 00043 this.setFunction("stdev", fctStdDev); 00044 this.loadDefaultFunctions(); 00045 } 00046 }