Git Product home page Git Product logo

jmath's Introduction

Hi all ๐Ÿ‘‹

  • ๐ŸŒฑ I teach Computer Science at Tulane University.
  • ๐Ÿ”ญ I'm interested in proteins, math, and dnd.
    • I have other interests too!
  • โšก Fun fact: I spent a summer compiling my own linux from scratch.
    • It took a whole summer because I had alot to learn in order to do it!

jmath's People

Contributors

amaus avatar

Stargazers

 avatar

Watchers

 avatar

jmath's Issues

Finding Clique on Graph with Single Node Crashes

When using IncMaxCliqueAdapter, trying to find a clique on a graph with a single node causes an IndexOutOfBoundsException to be thrown:

In the following error output, neighboringNodesGraph is the graph that is being passed into findMaxClique(). To fix, check the size of the graph at the beginning of findMaxClique(). Only run the algorithm if the size is >=2. By definition, the Max Clique of a graph of size one is that single node, and the Max Clique of a graph of size zero is an empty graph.

Size of neighboringNodesGraph: 1
Reading input from IncMaxCliqueProcess
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -3
at java.util.ArrayList.elementData(ArrayList.java:418)
at java.util.ArrayList.get(ArrayList.java:431)
at com.aaronpmaus.jMath.graph.IncMaxCliqueAdapter.findMaxClique(IncMaxCliqueAdapter.java:100)
at com.aaronpmaus.jMath.graph.IncMaxCliqueAdapter.findMaxClique(IncMaxCliqueAdapter.java:49)
at com.aaronpmaus.jProt.metrics.Metrics.getNeighborhood(Metrics.java:348)
at com.aaronpmaus.jProt.metrics.Metrics.getGlobalDistanceRegions(Metrics.java:295)
at com.aaronpmaus.jProt.executables.JProtMetrics.globalDistanceTest(JProtMetrics.java:280)
at com.aaronpmaus.jProt.executables.JProtMetrics.main(JProtMetrics.java:199)

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.