Package org.tweetyproject.graphs
Interface GeneralGraph<T extends Node>
- All Superinterfaces:
Iterable<T>
- All Known Subinterfaces:
DirHyperGraph<T>
,Graph<T>
- All Known Implementing Classes:
AbstractBipolarFramework
,ArgumentTree
,BpmnModel
,Compilation
,DeductiveArgumentationFramework
,DefaultGraph
,DungTheory
,EvidentialArgumentationFramework
,ExecutableDungTheory
,HyperGraph
,NecessityArgumentationFramework
,PerceivableStructuredArgumentationFramework
,PetriNet
,ProbabilisticArgumentationFramework
,ReachabilityGraph
,SetAf
,SimpleGraph
,SocialAbstractArgumentationFramework
,StructuredArgumentationFramework
,WeightedDungTheory
- Author:
- Sebastian Franke
-
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends GeneralEdge<? extends T>>
getEdges()
Returns the edges of this graph.getNodes()
Returns the nodes of this graph.getRestriction(Collection<T> nodes)
Returns copy of this graph consisting only of the given nodes and all corresponding edges.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getRestriction
Returns copy of this graph consisting only of the given nodes and all corresponding edges.- Parameters:
nodes
- a set of nodes- Returns:
- a graph.
-
getNodes
Collection<T> getNodes()Returns the nodes of this graph.- Returns:
- the nodes of this graph.
-
getEdges
Collection<? extends GeneralEdge<? extends T>> getEdges()Returns the edges of this graph.- Returns:
- the edges of this graph.
-