资源简介
JGraphT is a free Java class library that provides mathematical graph-theory objects and algorithms. JGraphT supports a rich gallery of graphs and is designed to be powerful, extensible, and easy to use.
Packages
org.jgrapht:The front-end API's interfaces and classes, including Graph, DirectedGraph
代码片段和文件信息
/* ==========================================
* JGraphT : a free Java graph-theory library
* ==========================================
*
* Project Info: http://jgrapht.sourceforge.net/
* Project Creator: Barak Naveh (http://sourceforge.net/users/barak_naveh)
*
* (C) Copyright 2003-2008 by Barak Naveh and Contributors.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
* License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library; if not write to the Free Software Foundation
* Inc.
* 59 Temple Place Suite 330 Boston MA 02111-1307 USA.
*/
/* ------------------
* DirectedGraph.java
* ------------------
* (C) Copyright 2003-2008 by Barak Naveh and Contributors.
*
* Original Author: Barak Naveh
* Contributor(s): Christian Hammer
*
* $Id: DirectedGraph.java 645 2008-09-30 19:44:48Z perfecthash $
*
* Changes
* -------
* 24-Jul-2003 : Initial revision (BN);
* 11-Mar-2004 : Made generic (CH);
* 07-May-2006 : Changed from List to Set (JVS);
*
*/
package org.jgrapht;
import java.util.*;
/**
* A graph whose all edges are directed. This is the root interface of all
* directed graphs.
*
* See
* http://mathworld.wolfram.com/DirectedGraph.html for more on directed
* graphs.
*
* @author Barak Naveh
* @since Jul 14 2003
*/
public interface DirectedGraph
extends Graph
{
//~ Methods ----------------------------------------------------------------
/**
* Returns the “in degree“ of the specified vertex. An in degree of a vertex
* in a directed graph is the number of inward directed edges from that
* vertex. See
* http://mathworld.wolfram.com/Indegree.html.
*
* @param vertex vertex whose degree is to be calculated.
*
* @return the degree of the specified vertex.
*/
public int inDegreeOf(V vertex);
/**
* Returns a set of all edges incoming into the specified vertex.
*
* @param vertex the vertex for which the list of incoming edges to be
* returned.
*
* @return a set of all edges incoming into the specified vertex.
*/
public Set incomingEdgesOf(V vertex);
/**
* Returns the “out degree“ of the specified vertex. An out degree of a
* vertex in a directed graph is
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-01-19 15:39 jgrapht-0.8.3\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\etc\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\javadoc\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\javadoc\org\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\javadoc\org\jgrapht\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\javadoc\org\jgrapht\alg\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\javadoc\org\jgrapht\alg\util\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\javadoc\org\jgrapht\demo\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\javadoc\org\jgrapht\event\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\javadoc\org\jgrapht\ext\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\javadoc\org\jgrapht\generate\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\javadoc\org\jgrapht\graph\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\javadoc\org\jgrapht\traverse\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\javadoc\org\jgrapht\util\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\javadoc\resources\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\lib\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\src\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\src\org\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\src\org\jgrapht\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\src\org\jgrapht\alg\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\src\org\jgrapht\alg\util\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\src\org\jgrapht\demo\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\src\org\jgrapht\event\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\src\org\jgrapht\experimental\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\src\org\jgrapht\experimental\alg\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\src\org\jgrapht\experimental\alg\color\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\src\org\jgrapht\experimental\dag\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\src\org\jgrapht\experimental\equivalence\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\src\org\jgrapht\experimental\isomorphism\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\src\org\jgrapht\experimental\permutation\
目录 0 2012-01-19 15:39 jgrapht-0.8.3\src\org\jgrapht\experimental\touchgraph\
............此处省略496个文件信息
- 上一篇:java实现简单直播系统
- 下一篇:Mastering Android NDK.
相关资源
- java实现简单直播系统
- swing界面美化包
- 门诊收费系统
- 大学杀Java版实现仿三国杀
- Java+爬虫+爬取图片+完整案例+源码
- Java编程思想第4版-8ad3.epub
- java简单开发部门树Tree
- 自助旅游信息管理系统论文
- java swing漂亮界面 超酷 javaswing教程
- 用jxl实现java对Excel表格的增删改查
- javaweb之mvc设计模式的学生信息管理系
- java web无数据库实现数据增删改差
- jsp+servlet+javabea实现的药店管理网站
- jsp+servlet+javabean实现的增删改查
- JAVA ATM机
- ProperJavaRDP.zip
- mqtt源代码
- 北大青鸟accp6.0java宠物商店
- java 拼图游戏课程设计
- JAVAEE课设
- Java算法大全源码包
- java编写的QQ聊天程序
- javaJSP音乐网站论文
- Java课程设计满分 图书管理系统实验报
- Java Jsp mysql学生评奖评优管理系统
- 朴素贝叶斯算法实现分类问题Java实现
- KNN算法实现分类问题JAVA实现
- Java 开发所需json的jar包,转json格式
- 租赁管理系统 含 数据库
- java获取DICOM格式图片demo
评论
共有 条评论