edu.byu.ece.edif.tools.replicate.nmr
Class PartialNMRSelectionStrategy

java.lang.Object
  extended by edu.byu.ece.edif.tools.replicate.nmr.PartialNMRSelectionStrategy
All Implemented Interfaces:
NMRSelectionStrategy

public class PartialNMRSelectionStrategy
extends java.lang.Object
implements NMRSelectionStrategy

This class implements partial TMR/DWC/etc.


Field Summary
protected static PartialNMRSelectionStrategy _instance
           
 
Constructor Summary
protected PartialNMRSelectionStrategy()
           
 
Method Summary
static PartialNMRSelectionStrategy getInstance()
           
private  java.lang.Object readResolve()
          This method ensures that during deserialization, the _instance variable will be referred to and possibly modified so that extra instances (more than necessary) don't get created.
protected static void reportReplicationStatus(int[] replicationStatus, java.io.PrintStream out)
           
 boolean selectNMR(ReplicationUtilizationTracker rTracker, EdifCell topCell, EdifCellInstanceGraph eciConnectivityGraph, EdifCellBadCutGroupings badCutGroupings, SCCDepthFirstSearch sccDFS, NMRArchitecture nmrArch, java.io.PrintStream out, java.io.PrintStream err, com.martiansoftware.jsap.JSAPResult result, ReplicationType replicationType, boolean override)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_instance

protected static PartialNMRSelectionStrategy _instance
Constructor Detail

PartialNMRSelectionStrategy

protected PartialNMRSelectionStrategy()
Method Detail

getInstance

public static PartialNMRSelectionStrategy getInstance()

selectNMR

public boolean selectNMR(ReplicationUtilizationTracker rTracker,
                         EdifCell topCell,
                         EdifCellInstanceGraph eciConnectivityGraph,
                         EdifCellBadCutGroupings badCutGroupings,
                         SCCDepthFirstSearch sccDFS,
                         NMRArchitecture nmrArch,
                         java.io.PrintStream out,
                         java.io.PrintStream err,
                         com.martiansoftware.jsap.JSAPResult result,
                         ReplicationType replicationType,
                         boolean override)
Specified by:
selectNMR in interface NMRSelectionStrategy

reportReplicationStatus

protected static void reportReplicationStatus(int[] replicationStatus,
                                              java.io.PrintStream out)
Parameters:
replicationStatus - An array of int's describing the level of replication (none, some, or all) for each section of the circuit

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
This method ensures that during deserialization, the _instance variable will be referred to and possibly modified so that extra instances (more than necessary) don't get created.

Returns:
Throws:
java.io.ObjectStreamException