Git Product home page Git Product logo

graph_theory_php's People

Contributors

twohlix avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

graph_theory_php's Issues

Add max degree and min degree

Add maximum degree and minimum degree support.

Curious: for directed graphs should I track maximum inDegree and maximum outDegree as well as minimum inDegree and minimum outDegree? or do those numbers even matter?

Add Degree sequencing

http://en.wikipedia.org/wiki/Degree_(graph_theory)

Add in degree sequencing, basically get a list of all the degrees and sort them in descending order

Curious about digraphs, is there an indegree sequence and an outdegree sequence?

Degree sequence is pretty cool as it allows for checking on the validity of a graph (sum of degree sequence must be even for valid graphs).

Add connectedness calculations

This gets more complicated with directed graphs.

connected($start, $end, $directed=TRUE) - have to find if a path exists between things, real adjacency matrix can speed this up

graphConnected($directred=TRUE) - works on the whole graph (first check minimum degree then do expensive stuff).

weaklyConnected($start, $end) - real adjacency matrix can speed this up. Slightly ambiguous, if a directed graph is connected between two points it is also weakly connected.

see http://en.wikipedia.org/wiki/Connected_graph for some more information

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.