edu.byu.ece.edif.util.merge
Class ReuseNewLeafCellsMergingPolicy

java.lang.Object
  extended by edu.byu.ece.edif.util.merge.ReuseNewLeafCellsMergingPolicy
All Implemented Interfaces:
EdifMergingPolicy

public class ReuseNewLeafCellsMergingPolicy
extends java.lang.Object
implements EdifMergingPolicy

An EdifMergingPolicy which will try to reuse only EdifCells that have been added during merging, preserving the libraries in the original file.


Field Summary
private  java.util.List<EdifLibrary> mergeLibs
           
 
Constructor Summary
ReuseNewLeafCellsMergingPolicy()
           
 
Method Summary
 EdifLibrary findLibraryForCell(EdifCell cellToCopy, EdifLibraryManager newElm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mergeLibs

private java.util.List<EdifLibrary> mergeLibs
Constructor Detail

ReuseNewLeafCellsMergingPolicy

public ReuseNewLeafCellsMergingPolicy()
Method Detail

findLibraryForCell

public EdifLibrary findLibraryForCell(EdifCell cellToCopy,
                                      EdifLibraryManager newElm)
Specified by:
findLibraryForCell in interface EdifMergingPolicy