com.sun.electric.tool.ncc.result
Class NccResult

java.lang.Object
  extended by com.sun.electric.tool.ncc.result.NccResult
All Implemented Interfaces:
java.io.Serializable

public class NccResult
extends java.lang.Object
implements java.io.Serializable

The result of running a netlist comparison on a single pair of Cells. Stores all information that results from the comparison. This information is needed by the NCC GUI and by tools that need NCC's matching information.

See Also:
Serialized Form

Nested Class Summary
static class NccResult.CellSummary
           
 
Method Summary
 boolean exportMatch()
          No problem was found with Exports
 BenchmarkResults getBenchmarkResults()
          Get result of benchmarking performance counters
 NccResult.CellSummary getCellSummary()
           
 Equivalence getEquivalence()
          return object that maps between Nodes and Networks in the two designs
 Permutation getExportPermutation()
          Return information saved for hierarchical interchange
 NccGuiInfo getNccGuiInfo()
          return information saved specifically for the GUI
 NccOptions getOptions()
           
 java.lang.String[] getRootCellNames()
           
 Cell[] getRootCells()
          return array of the top-level Cells being compared
 VarContext[] getRootContexts()
          return array of the VarContexts for the top-level Cells begin compared
 boolean guiNeedsToReport()
          The GUI needs to display this result to the user
 boolean match()
          No problem was found
static NccResult newResult(boolean exportNameMatch, boolean topologyMatch, boolean sizeMatch, NccGlobalsReportable globalData)
           
static NccResult newUserAbortResult()
           
 void setExportPermutation(Permutation exportPermutation)
          Save information needed for hierarchical interchange
 boolean sizeMatch()
          No problem was found with transistor sizes
 java.lang.String summary(boolean checkSizes)
          return a string summarizing NCC's results
 boolean topologyMatch()
          No problem was found with the network topology
 boolean userAbort()
          User aborted this comparison.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newResult

public static NccResult newResult(boolean exportNameMatch,
                                  boolean topologyMatch,
                                  boolean sizeMatch,
                                  NccGlobalsReportable globalData)

newUserAbortResult

public static NccResult newUserAbortResult()

getRootCells

public Cell[] getRootCells()
return array of the top-level Cells being compared


getRootCellNames

public java.lang.String[] getRootCellNames()

getRootContexts

public VarContext[] getRootContexts()
return array of the VarContexts for the top-level Cells begin compared


getOptions

public NccOptions getOptions()

getCellSummary

public NccResult.CellSummary getCellSummary()

exportMatch

public boolean exportMatch()
No problem was found with Exports


topologyMatch

public boolean topologyMatch()
No problem was found with the network topology


sizeMatch

public boolean sizeMatch()
No problem was found with transistor sizes


userAbort

public boolean userAbort()
User aborted this comparison. No other information is saved.


match

public boolean match()
No problem was found


getEquivalence

public Equivalence getEquivalence()
return object that maps between Nodes and Networks in the two designs


summary

public java.lang.String summary(boolean checkSizes)
return a string summarizing NCC's results


guiNeedsToReport

public boolean guiNeedsToReport()
The GUI needs to display this result to the user


getNccGuiInfo

public NccGuiInfo getNccGuiInfo()
return information saved specifically for the GUI


getExportPermutation

public Permutation getExportPermutation()
Return information saved for hierarchical interchange


setExportPermutation

public void setExportPermutation(Permutation exportPermutation)
Save information needed for hierarchical interchange


getBenchmarkResults

public BenchmarkResults getBenchmarkResults()
Get result of benchmarking performance counters