Code Monkey home page Code Monkey logo

java_graphlibrary's Introduction

Hi there, welcome to my Github!

I'm Kévin HASSAN 👋, 🇫🇷 JS FullStack software engineer👨‍💻
I'm working at Montpellier, France 🏖☀️😎.
I'm searching for a new adventure ! ⛵️🌊

🔭 I’m currently working at:

Teads, Montpellier, France

🔭 I'm talking in:

  • Javascript / Typescript (NodeJS, ReactJS, VueJS)
  • Scala
  • Swift
  • Dart

🌱 I’m currently learning:

  • NextJS (1)
  • Rust (2)

👯 I’m looking to collaborate on:

An open source project

📫 How to reach me:

📊 Some metrics:

🏆 Some trophies:

trophy

java_graphlibrary's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

java_graphlibrary's Issues

List of Exceptions 1

Could you add some exceptions to your library :

  • In your graph interface, can you throw :
    • setEdge : NotUndirectedEdge, MaximumSizeReachedOnEdges
    • setVertex : MaximumSizeReachedOnVertices
  • MinimumSizeOfGraphNotRespected :
public class MaximumSizeReachedOnEdges extends Exception {
    public String toString() {
        return "Vous avez atteint le nombre maximum d'arêtes sur ce graphe.";
    }
}
  • MaximumSizeReachedOnVertices
public class MaximumSizeReachedOnVertices extends Exception {
    public String toString() {
        return "Vous avez atteint le nombre maximum de sommets sur ce graphe.";
    }
}
  • MinimumSizeOfGraphNotRespected
public class MinimumSizeOfGraphNotRespected extends Exception {

    private int maxEdges;
    private int maxVertices;

    public MinimumSizeOfGraphNotRespected(int maxEdges, int maxVertices) {
        this.maxEdges = maxEdges;
        this.maxVertices = maxVertices;
    }

    public String toString() {
        return "Il est necessaire d'avoir au moins 1 arête et 2 sommets, alors que vous n'avez autorisez que "
                + this.maxEdges + " arêtes et " + this.maxVertices + " sommets.";
    }
}
  • MissingVertexInGraph
public class MissingVertexInGraph extends Exception {
    public String toString() {
        return "The Vertex is not in the graph.";
    }
}
  • NotUndirectedEdge
public class NotUndirectedEdge extends Exception {
    public String toString() {
        return "Vous essayez d'ajouter une arête qui est dirigée à un graphe qui ne l'est pas.";
    }
}

Abstract class Edge

  • Edge is the name of the class, not a function
  • Your abstract classes need the keyword "abstract"

We can't see your online doc.

Can you do that because we can't know how to do the project without the doc.
The best for us is a link on the home page or in the README.md svp.

Class DirectedEdge

  • Yon can't access to v1 and v2 if there are "private" instead of protected
  • Functions inherited of edge are not implemented
  • You have an issue between inhereted functions of Edge and their of DirectedEdge

Error between src and bin.

We are the group who receive your project.
For this project we need .class and not .java, may you change it? We don't have the library so we can't run it.

Class Vertex

  • Vertex is the name of the class, not a function
  • In the getter of name, you should use a ";"
  • A constrctuor doesn't have a return type

"Static attributes" in interfaces is non-sence.

Le fait d'avoir "static" pour définir les attributs Vertex et Edges de Graph fait que tous les objets graphes crées par la suite partageront obligatoirement les mêmes attributs Vertex et Edges.

Package

On ne peut pas importer et utiliser correctement la librairie. Merci de ne pas mettre dans vos fonctions "graph.Edge" et "graph.Vertex" en gérant correctement vos imports. Il faut que ces classes soient importées directement en en-tête du fichier ex: "import bin.graph.Edge". En attendant nous allons utiliser les sources.

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.