C# 클래스 Smrf.NodeXL.Core.EdgeCollection

Represents a collection of edges.
This is a collection of objects that implement the IEdge interface. You can add edges to the collection, remove them, access an edge, and enumerate all edges.
상속: NodeXLBase, IEdgeCollection
파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_iEdges System.Int32
m_oLinkedList LinkedList
m_oParentGraph IGraph

공개 메소드들

메소드 설명
Add ( IVertex vertex1, IVertex vertex2 ) : IEdge
Add ( IVertex vertex1, IVertex vertex2, System.Boolean isDirected ) : IEdge
Add ( IEdge edge ) : void
AssertValid ( ) : void
Clear ( ) : void
Contains ( IEdge edge ) : System.Boolean
Contains ( Int32 id ) : System.Boolean
Contains ( String name ) : System.Boolean
CopyTo ( IEdge array, Int32 index ) : void
EdgeCollection ( IGraph graph ) : System

Initializes a new instance of the EdgeCollection class.

Find ( Int32 id, IEdge &edge ) : System.Boolean
Find ( String name, IEdge &edge ) : System.Boolean
GetConnectingEdges ( IVertex vertex1, IVertex vertex2 ) : ICollection
GetEnumerator ( ) : IEnumerator
Remove ( IEdge edge ) : System.Boolean
Remove ( Int32 id ) : System.Boolean
Remove ( String name ) : System.Boolean
RemoveDuplicates ( ) : void
ToString ( ) : String

보호된 메소드들

메소드 설명
AddToGroup ( IEdge oEdge, Vertex oVertex ) : void
CheckDirectednessBeforeAddingEdge ( System.Boolean bEdgeIsDirected, String sArgumentName ) : void
CheckVertex ( IVertex oVertex, String sMethodName, String sArgumentName ) : void
EdgeToVertices ( IEdge oEdge, String sMethodName, String sArgumentName, Vertex &oVertex1, Vertex &oVertex2 ) : void
Find ( System.Boolean bByID, Int32 iID, String sName, IEdge &oEdge ) : System.Boolean
GetDegree ( Vertex oVertex ) : Int32
GetIncomingOrOutgoingEdges ( Vertex oVertex, System.Boolean bIncludeIncoming, System.Boolean bIncludeOutgoing ) : ICollection
GetPredecessorOrSuccessorVertices ( Vertex oVertex, System.Boolean bIncludePredecessor, System.Boolean bIncludeSuccessor ) : ICollection
IVertexToVertex ( IVertex oVertex, String sMethodOrPropertyName ) : Vertex
OnEdgeAdded ( IEdge oEdge ) : void
OnEdgeRemoved ( IEdge oEdge, System.Boolean bFireEdgeRemoved ) : void
RemoveAllFromGroup ( Vertex oVertex ) : void
RemoveFromGroup ( IEdge oEdge, Vertex oVertex ) : System.Boolean

비공개 메소드들

메소드 설명
System ( ) : System.Collections.IEnumerator

메소드 상세

Add() 공개 메소드

public Add ( IVertex vertex1, IVertex vertex2 ) : IEdge
vertex1 IVertex
vertex2 IVertex
리턴 IEdge

Add() 공개 메소드

public Add ( IVertex vertex1, IVertex vertex2, System.Boolean isDirected ) : IEdge
vertex1 IVertex
vertex2 IVertex
isDirected System.Boolean
리턴 IEdge

Add() 공개 메소드

public Add ( IEdge edge ) : void
edge IEdge
리턴 void

AddToGroup() 보호된 메소드

protected AddToGroup ( IEdge oEdge, Vertex oVertex ) : void
oEdge IEdge
oVertex Vertex
리턴 void

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

CheckDirectednessBeforeAddingEdge() 보호된 메소드

protected CheckDirectednessBeforeAddingEdge ( System.Boolean bEdgeIsDirected, String sArgumentName ) : void
bEdgeIsDirected System.Boolean
sArgumentName String
리턴 void

CheckVertex() 보호된 메소드

protected CheckVertex ( IVertex oVertex, String sMethodName, String sArgumentName ) : void
oVertex IVertex
sMethodName String
sArgumentName String
리턴 void

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Contains() 공개 메소드

public Contains ( IEdge edge ) : System.Boolean
edge IEdge
리턴 System.Boolean

Contains() 공개 메소드

public Contains ( Int32 id ) : System.Boolean
id System.Int32
리턴 System.Boolean

Contains() 공개 메소드

public Contains ( String name ) : System.Boolean
name String
리턴 System.Boolean

CopyTo() 공개 메소드

public CopyTo ( IEdge array, Int32 index ) : void
array IEdge
index System.Int32
리턴 void

EdgeCollection() 공개 메소드

Initializes a new instance of the EdgeCollection class.
public EdgeCollection ( IGraph graph ) : System
graph IGraph /// to which the new collection belongs. Can't be /// null. ///
리턴 System

EdgeToVertices() 보호된 메소드

protected EdgeToVertices ( IEdge oEdge, String sMethodName, String sArgumentName, Vertex &oVertex1, Vertex &oVertex2 ) : void
oEdge IEdge
sMethodName String
sArgumentName String
oVertex1 Vertex
oVertex2 Vertex
리턴 void

Find() 보호된 메소드

protected Find ( System.Boolean bByID, Int32 iID, String sName, IEdge &oEdge ) : System.Boolean
bByID System.Boolean
iID System.Int32
sName String
oEdge IEdge
리턴 System.Boolean

Find() 공개 메소드

public Find ( Int32 id, IEdge &edge ) : System.Boolean
id System.Int32
edge IEdge
리턴 System.Boolean

Find() 공개 메소드

public Find ( String name, IEdge &edge ) : System.Boolean
name String
edge IEdge
리턴 System.Boolean

GetConnectingEdges() 공개 메소드

public GetConnectingEdges ( IVertex vertex1, IVertex vertex2 ) : ICollection
vertex1 IVertex
vertex2 IVertex
리턴 ICollection

GetDegree() 보호된 메소드

protected GetDegree ( Vertex oVertex ) : Int32
oVertex Vertex
리턴 System.Int32

GetEnumerator() 공개 메소드

public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

GetIncomingOrOutgoingEdges() 보호된 메소드

protected GetIncomingOrOutgoingEdges ( Vertex oVertex, System.Boolean bIncludeIncoming, System.Boolean bIncludeOutgoing ) : ICollection
oVertex Vertex
bIncludeIncoming System.Boolean
bIncludeOutgoing System.Boolean
리턴 ICollection

GetPredecessorOrSuccessorVertices() 보호된 메소드

protected GetPredecessorOrSuccessorVertices ( Vertex oVertex, System.Boolean bIncludePredecessor, System.Boolean bIncludeSuccessor ) : ICollection
oVertex Vertex
bIncludePredecessor System.Boolean
bIncludeSuccessor System.Boolean
리턴 ICollection

IVertexToVertex() 보호된 메소드

protected IVertexToVertex ( IVertex oVertex, String sMethodOrPropertyName ) : Vertex
oVertex IVertex
sMethodOrPropertyName String
리턴 Vertex

OnEdgeAdded() 보호된 메소드

protected OnEdgeAdded ( IEdge oEdge ) : void
oEdge IEdge
리턴 void

OnEdgeRemoved() 보호된 메소드

protected OnEdgeRemoved ( IEdge oEdge, System.Boolean bFireEdgeRemoved ) : void
oEdge IEdge
bFireEdgeRemoved System.Boolean
리턴 void

Remove() 공개 메소드

public Remove ( IEdge edge ) : System.Boolean
edge IEdge
리턴 System.Boolean

Remove() 공개 메소드

public Remove ( Int32 id ) : System.Boolean
id System.Int32
리턴 System.Boolean

Remove() 공개 메소드

public Remove ( String name ) : System.Boolean
name String
리턴 System.Boolean

RemoveAllFromGroup() 보호된 메소드

protected RemoveAllFromGroup ( Vertex oVertex ) : void
oVertex Vertex
리턴 void

RemoveDuplicates() 공개 메소드

public RemoveDuplicates ( ) : void
리턴 void

RemoveFromGroup() 보호된 메소드

protected RemoveFromGroup ( IEdge oEdge, Vertex oVertex ) : System.Boolean
oEdge IEdge
oVertex Vertex
리턴 System.Boolean

ToString() 공개 메소드

public ToString ( ) : String
리턴 String

프로퍼티 상세

m_iEdges 보호되어 있는 프로퍼티

protected Int32,System m_iEdges
리턴 System.Int32

m_oLinkedList 보호되어 있는 프로퍼티

protected LinkedList m_oLinkedList
리턴 LinkedList

m_oParentGraph 보호되어 있는 프로퍼티

protected IGraph m_oParentGraph
리턴 IGraph