本文整理了Java中edu.uci.ics.jung.graph.Graph.getEdges()
方法的一些代码示例,展示了Graph.getEdges()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Graph.getEdges()
方法的具体详情如下:
包路径:edu.uci.ics.jung.graph.Graph
类名称:Graph
方法名:getEdges
暂无
代码示例来源:origin: geogebra/geogebra
/**
* @see edu.uci.ics.jung.graph.Hypergraph#getEdges()
*/
@Override
public Collection<E> getEdges() {
return delegate.getEdges();
}
代码示例来源:origin: geogebra/geogebra
/**
* @see edu.uci.ics.jung.graph.Graph#getEdges(edu.uci.ics.jung.graph.util.EdgeType)
*/
@Override
public Collection<E> getEdges(EdgeType edgeType) {
return delegate.getEdges(edgeType);
}
代码示例来源:origin: net.sf.jung/jung-api
/**
* @see edu.uci.ics.jung.graph.Hypergraph#getEdges()
*/
public Collection<E> getEdges() {
return delegate.getEdges();
}
代码示例来源:origin: net.sf.jung/jung-api
/**
* @see edu.uci.ics.jung.graph.Graph#getEdges(edu.uci.ics.jung.graph.util.EdgeType)
*/
public Collection<E> getEdges(EdgeType edgeType) {
return delegate.getEdges(edgeType);
}
代码示例来源:origin: geogebra/geogebra
/**
* @see edu.uci.ics.jung.graph.Graph#getEdges(EdgeType)
*/
@Override
public synchronized Collection<E> getEdges(EdgeType edgeType) {
return delegate.getEdges(edgeType);
}
代码示例来源:origin: net.sf.jung/jung-api
/**
* @see edu.uci.ics.jung.graph.Hypergraph#getEdges()
*/
public synchronized Collection<E> getEdges() {
return delegate.getEdges();
}
代码示例来源:origin: net.sf.jung/jung-api
/**
* @see edu.uci.ics.jung.graph.Hypergraph#getEdges()
*/
public Collection<E> getEdges() {
return delegate.getEdges();
}
代码示例来源:origin: net.sf.jung/jung-api
/**
* @see edu.uci.ics.jung.graph.Graph#getEdges(EdgeType)
*/
public synchronized Collection<E> getEdges(EdgeType edgeType) {
return delegate.getEdges(edgeType);
}
代码示例来源:origin: net.sf.jung/jung-api
/**
* @see edu.uci.ics.jung.graph.Graph#getEdges(edu.uci.ics.jung.graph.util.EdgeType)
*/
public Collection<E> getEdges(EdgeType edgeType) {
return delegate.getEdges(edgeType);
}
代码示例来源:origin: net.sourceforge.jadex/jadex-tools-comanalyzer
/**
* Returns the edges for a given edge type.
*
* @param edgeType The edge tzpe.
* @return The collection of edges.
*/
public Collection getEdges(EdgeType edgeType)
{
return delegate.getEdges(edgeType);
}
代码示例来源:origin: net.sourceforge.jadex/jadex-tools-comanalyzer
/**
* Returns all edges of the graph.
*
* @return The collection of edges.
*/
public Collection getEdges()
{
return delegate.getEdges();
}
代码示例来源:origin: geogebra/geogebra
/**
* @see edu.uci.ics.jung.graph.Hypergraph#getEdges()
*/
@Override
public synchronized Collection<E> getEdges() {
return delegate.getEdges();
}
代码示例来源:origin: geogebra/geogebra
/**
* @see edu.uci.ics.jung.graph.Hypergraph#getEdges()
*/
@Override
public Collection<E> getEdges() {
return delegate.getEdges();
}
代码示例来源:origin: geogebra/geogebra
/**
* @see edu.uci.ics.jung.graph.Graph#getEdges(edu.uci.ics.jung.graph.util.EdgeType)
*/
@Override
public Collection<E> getEdges(EdgeType edgeType) {
return delegate.getEdges(edgeType);
}
代码示例来源:origin: geogebra/geogebra
protected void initialize(Graph<V, E> graph) {
this.graph = graph;
this.vertex_scores = new HashMap<V, Double>();
this.edge_scores = new HashMap<E, Double>();
this.vertex_data = new HashMap<V, BetweennessData>();
for (V v : graph.getVertices()) {
this.vertex_scores.put(v, 0.0);
}
for (E e : graph.getEdges()) {
this.edge_scores.put(e, 0.0);
}
}
代码示例来源:origin: org.opendaylight.controller.thirdparty/net.sf.jung2
protected void initialize(Graph<V,E> graph)
{
this.graph = graph;
this.vertex_scores = new HashMap<V, Double>();
this.edge_scores = new HashMap<E, Double>();
this.vertex_data = new HashMap<V, BetweennessData>();
for (V v : graph.getVertices())
this.vertex_scores.put(v, 0.0);
for (E e : graph.getEdges())
this.edge_scores.put(e, 0.0);
}
代码示例来源:origin: net.sf.jung/jung-algorithms
protected void initialize(Graph<V,E> graph)
{
this.graph = graph;
this.vertex_scores = new HashMap<V, Double>();
this.edge_scores = new HashMap<E, Double>();
this.vertex_data = new HashMap<V, BetweennessData>();
for (V v : graph.getVertices())
this.vertex_scores.put(v, 0.0);
for (E e : graph.getEdges())
this.edge_scores.put(e, 0.0);
}
代码示例来源:origin: citiususc/hipster
@Override
public Iterable<GraphEdge<V, E>> edges() {
final Collection<E> edges = graph.getEdges();
if (edges == null || edges.isEmpty()){
return Collections.emptyList();
}
return adapt(edges);
}
代码示例来源:origin: OpenNMS/opennms
@Override
public boolean done() {
return
// if we have no objects in our graph to layout we are done:
(getGraph().getEdges().isEmpty() && getGraph().getVertices().isEmpty())
|| m_alpha < 0.005;
}
代码示例来源:origin: net.sf.jung/jung-visualization
private void cleanUp() {
vertices.clear();
edges.clear();
for(V v : graph.getVertices()) {
checkVertex(v);
}
for(E e : graph.getEdges()) {
checkEdge(e);
}
}
内容来源于网络,如有侵权,请联系作者删除!