C# 클래스 Smrf.NodeXL.ExcelTemplate.DuplicateEdgeMerger

Merges duplicate edges in the edge worksheet.
Use MergeDuplicateEdges(Workbook) to merge duplicate edges in the edge worksheet.

"Merge" means either count duplicates and include the counts in a new edge weight column, or delete all but one edge in each set of duplicate edges, or both.

상속: Object
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

공개 메소드들

메소드 설명
DuplicateEdgeMerger ( ) : System

Initializes a new instance of the DuplicateEdgeMerger class.

MergeDuplicateEdges ( Microsoft workbook ) : void
MergeDuplicateEdges ( Microsoft workbook, System.Boolean countDuplicateEdges, System.Boolean deleteDuplicateEdges, String thirdColumnNameForDuplicateDetection ) : void

보호된 메소드들

메소드 설명
CountDuplicateEdges ( ListObject oEdgeTable, Object aoVertex1NameValues, Object aoVertex2NameValues, Object aoThirdColumnValues, System.Boolean bGraphIsDirected ) : void
DeleteDuplicateEdges ( ListObject oEdgeTable, Object aoVertex1NameValues, Object aoVertex2NameValues, Object aoThirdColumnValues, System.Boolean bGraphIsDirected ) : void
DeleteMarkedRows ( ListObject oEdgeTable, Range oDeleteIfEmptyData, Object aoDeleteIfEmptyValues ) : void
GetRowCount ( Object aoColumnValues ) : Int32
MarkRowsForDeletion ( ListObject oEdgeTable, Object aoVertex1NameValues, Object aoVertex2NameValues, Object aoThirdColumnValues, System.Boolean bGraphIsDirected, ListColumn &oDeleteIfEmptyColumn, Range &oDeleteIfEmptyData, Object &aoDeleteIfEmptyValues ) : void
SortEdgeTable ( ListObject oEdgeTable, Range oRangeToSortOn ) : void
TryGetEdgeKey ( Int32 iRowOneBased, Object aoVertex1NameValues, Object aoVertex2NameValues, Object aoThirdColumnValues, System.Boolean bGraphIsDirected, String &sEdgeKey ) : System.Boolean
TryGetEdgeTable ( Microsoft oWorkbook, ListObject &oEdgeTable ) : System.Boolean
TryGetInformationFromEdgeTable ( Microsoft oWorkbook, ListObject oEdgeTable, String sThirdColumnName, System.Boolean &bGraphIsDirected, Range &oVertex1NameData, Object &aoVertex1NameValues, Range &oVertex2NameData, Object &aoVertex2NameValues, Object &aoThirdColumnValues ) : System.Boolean

비공개 메소드들

메소드 설명
AssertValid ( ) : void

메소드 상세

CountDuplicateEdges() 보호된 메소드

protected CountDuplicateEdges ( ListObject oEdgeTable, Object aoVertex1NameValues, Object aoVertex2NameValues, Object aoThirdColumnValues, System.Boolean bGraphIsDirected ) : void
oEdgeTable ListObject
aoVertex1NameValues Object
aoVertex2NameValues Object
aoThirdColumnValues Object
bGraphIsDirected System.Boolean
리턴 void

DeleteDuplicateEdges() 보호된 메소드

protected DeleteDuplicateEdges ( ListObject oEdgeTable, Object aoVertex1NameValues, Object aoVertex2NameValues, Object aoThirdColumnValues, System.Boolean bGraphIsDirected ) : void
oEdgeTable ListObject
aoVertex1NameValues Object
aoVertex2NameValues Object
aoThirdColumnValues Object
bGraphIsDirected System.Boolean
리턴 void

DeleteMarkedRows() 보호된 메소드

protected DeleteMarkedRows ( ListObject oEdgeTable, Range oDeleteIfEmptyData, Object aoDeleteIfEmptyValues ) : void
oEdgeTable ListObject
oDeleteIfEmptyData Range
aoDeleteIfEmptyValues Object
리턴 void

DuplicateEdgeMerger() 공개 메소드

Initializes a new instance of the DuplicateEdgeMerger class.
public DuplicateEdgeMerger ( ) : System
리턴 System

GetRowCount() 보호된 메소드

protected GetRowCount ( Object aoColumnValues ) : Int32
aoColumnValues Object
리턴 System.Int32

MarkRowsForDeletion() 보호된 메소드

protected MarkRowsForDeletion ( ListObject oEdgeTable, Object aoVertex1NameValues, Object aoVertex2NameValues, Object aoThirdColumnValues, System.Boolean bGraphIsDirected, ListColumn &oDeleteIfEmptyColumn, Range &oDeleteIfEmptyData, Object &aoDeleteIfEmptyValues ) : void
oEdgeTable ListObject
aoVertex1NameValues Object
aoVertex2NameValues Object
aoThirdColumnValues Object
bGraphIsDirected System.Boolean
oDeleteIfEmptyColumn ListColumn
oDeleteIfEmptyData Range
aoDeleteIfEmptyValues Object
리턴 void

MergeDuplicateEdges() 공개 메소드

public MergeDuplicateEdges ( Microsoft workbook ) : void
workbook Microsoft
리턴 void

MergeDuplicateEdges() 공개 메소드

public MergeDuplicateEdges ( Microsoft workbook, System.Boolean countDuplicateEdges, System.Boolean deleteDuplicateEdges, String thirdColumnNameForDuplicateDetection ) : void
workbook Microsoft
countDuplicateEdges System.Boolean
deleteDuplicateEdges System.Boolean
thirdColumnNameForDuplicateDetection String
리턴 void

SortEdgeTable() 보호된 메소드

protected SortEdgeTable ( ListObject oEdgeTable, Range oRangeToSortOn ) : void
oEdgeTable ListObject
oRangeToSortOn Range
리턴 void

TryGetEdgeKey() 보호된 메소드

protected TryGetEdgeKey ( Int32 iRowOneBased, Object aoVertex1NameValues, Object aoVertex2NameValues, Object aoThirdColumnValues, System.Boolean bGraphIsDirected, String &sEdgeKey ) : System.Boolean
iRowOneBased System.Int32
aoVertex1NameValues Object
aoVertex2NameValues Object
aoThirdColumnValues Object
bGraphIsDirected System.Boolean
sEdgeKey String
리턴 System.Boolean

TryGetEdgeTable() 보호된 메소드

protected TryGetEdgeTable ( Microsoft oWorkbook, ListObject &oEdgeTable ) : System.Boolean
oWorkbook Microsoft
oEdgeTable ListObject
리턴 System.Boolean

TryGetInformationFromEdgeTable() 보호된 메소드

protected TryGetInformationFromEdgeTable ( Microsoft oWorkbook, ListObject oEdgeTable, String sThirdColumnName, System.Boolean &bGraphIsDirected, Range &oVertex1NameData, Object &aoVertex1NameValues, Range &oVertex2NameData, Object &aoVertex2NameValues, Object &aoThirdColumnValues ) : System.Boolean
oWorkbook Microsoft
oEdgeTable ListObject
sThirdColumnName String
bGraphIsDirected System.Boolean
oVertex1NameData Range
aoVertex1NameValues Object
oVertex2NameData Range
aoVertex2NameValues Object
aoThirdColumnValues Object
리턴 System.Boolean