当前位置: 首页>>代码示例>>Java>>正文


Java GraphEdgeChangeEvent类代码示例

本文整理汇总了Java中org.jgrapht.event.GraphEdgeChangeEvent的典型用法代码示例。如果您正苦于以下问题:Java GraphEdgeChangeEvent类的具体用法?Java GraphEdgeChangeEvent怎么用?Java GraphEdgeChangeEvent使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


GraphEdgeChangeEvent类属于org.jgrapht.event包,在下文中一共展示了GraphEdgeChangeEvent类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: edgeAdded

import org.jgrapht.event.GraphEdgeChangeEvent; //导入依赖的package包/类
@Override
public void edgeAdded(GraphEdgeChangeEvent<IfmapVertex, IfmapEdge> e) {
	LOGGER.info("ea: " + e.getEdge());
}
 
开发者ID:trustathsh,项目名称:irongpm,代码行数:5,代码来源:LoggingListener.java

示例2: edgeRemoved

import org.jgrapht.event.GraphEdgeChangeEvent; //导入依赖的package包/类
@Override
public void edgeRemoved(GraphEdgeChangeEvent<IfmapVertex, IfmapEdge> e) {
	LOGGER.info("er: " + e.getEdge());
}
 
开发者ID:trustathsh,项目名称:irongpm,代码行数:5,代码来源:LoggingListener.java

示例3: edgeAdded

import org.jgrapht.event.GraphEdgeChangeEvent; //导入依赖的package包/类
@Override
public void edgeAdded(GraphEdgeChangeEvent<IfmapVertex, IfmapEdge> e) {
	checkAndFireRules(e);
}
 
开发者ID:trustathsh,项目名称:irongpm,代码行数:5,代码来源:BasicMatchingAlgorithm.java

示例4: edgeRemoved

import org.jgrapht.event.GraphEdgeChangeEvent; //导入依赖的package包/类
@Override
public void edgeRemoved(GraphEdgeChangeEvent<IfmapVertex, IfmapEdge> e) {
	// Can be ignored - a pattern cannot be fulfilled by a vertex removal
	// (no NOT relationships supported)
	// checkAndFireRules(e);
}
 
开发者ID:trustathsh,项目名称:irongpm,代码行数:7,代码来源:BasicMatchingAlgorithm.java

示例5: edgeAdded

import org.jgrapht.event.GraphEdgeChangeEvent; //导入依赖的package包/类
@Override
public void edgeAdded(GraphEdgeChangeEvent<V, E> e) {
    addJGraphTEdge(e.getEdge());
}
 
开发者ID:jub77,项目名称:grafikon,代码行数:5,代码来源:JGraphTAdapter.java

示例6: edgeRemoved

import org.jgrapht.event.GraphEdgeChangeEvent; //导入依赖的package包/类
@Override
public void edgeRemoved(GraphEdgeChangeEvent<V, E> e) {
    mxCell cell = edgeToCellMap.remove(e.getEdge());
    removeCells(new Object[] { cell });
}
 
开发者ID:jub77,项目名称:grafikon,代码行数:6,代码来源:JGraphTAdapter.java

示例7: edgeAdded

import org.jgrapht.event.GraphEdgeChangeEvent; //导入依赖的package包/类
@Override
public void edgeAdded(GraphEdgeChangeEvent<V, E> e) {
	addJGraphTEdge(e.getEdge());
}
 
开发者ID:Angerona,项目名称:angerona-framework,代码行数:5,代码来源:JGraphXAdapter.java

示例8: edgeRemoved

import org.jgrapht.event.GraphEdgeChangeEvent; //导入依赖的package包/类
@Override
public void edgeRemoved(GraphEdgeChangeEvent<V, E> e) {
	mxCell cell = edgeToCellMap.remove(e.getEdge());
	cellToEdgeMap.remove(cell);
	removeCells(new Object[] { cell });
}
 
开发者ID:Angerona,项目名称:angerona-framework,代码行数:7,代码来源:JGraphXAdapter.java


注:本文中的org.jgrapht.event.GraphEdgeChangeEvent类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。