updated readme

This commit is contained in:
Lacroix Raphael 2022-05-28 13:58:20 +02:00
parent 47150a44b1
commit 2d43e8cb47
2 changed files with 49 additions and 55 deletions

View file

@ -1,62 +1,56 @@
# Graph & Algorithm project — INSA Toulouse # Graph & Algorithm project — INSA Toulouse
**[ LEJEUNE Aurelia & R.LACROIX ]**
## How to start? ## Part 2
You will not be able to use this repository to save your work, you need to copy / import / fork it to - [X] [First UML diagram](answers.md)
your favorite Git platform.
### Importing to [Github](https://github.com), [Bitbucket](https://bitbucket.org) or [Gitlab](https://gitlab.com): - [X] Path class implementation
- [X] createFastestPathFromNodes
- [X] createShortestPathFromNodes
- [X] isValid
- [X] getLength
- [X] getTravelTime
- [X] getMinimumTravelTime
You first need to register and then log in to the platform you want. The steps to import the project are detailed below: ## Part 3
#### Github - [X] [Second UML diagram](answers.md)
1. In the upper-right corner of any page, click the **"+"** icon, then click **Import repository**, or go to [https://github.com/new/import](https://github.com/new/import). - [X] BinaryHeap implementation
2. Paste the following URL in the first input: - [X] implemented the remove() method
[https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git) - [X] improved the method by using a hashmap
3. Choose the name you want for the repository.
4. Click *Begin import*.
5. Wait for completion... Done!
#### Bitbucket - [X] Created Label
- [X] Attributes
- [X] currNode
- [X] marked
- [X] cost
- [X] father
- [X] Methods
- [X] getCost
- [X] compareTo
1. On the left panel of any page, click the **"+"** icon, then **Repository**, and then **Import**, or directly go to [https://bitbucket.org/repo/import](https://bitbucket.org/repo/import). - [X] implemented Dijkstra
2. Paste the following URL in the first input (select Git as source if not already selected): - [X] handling special types of paths (pedestrians, car roads etc)
[https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git) - [X] added notifyNodeReached to show reached nodes on map
3. Choose the name you want for repository, and select Git as the *Version control system*. - [X] Testings (lots of)
4. Click *Import repository*.
5. Wait for completion... Done!
#### Gitlab ## Part 4
1. In the upper-right corner of any page, click the **"+"** icon, then **New project**, or directly go to [https://gitlab.com/projects/new](https://gitlab.com/projects/new). - [X] Modified Label
2. Select the **Import project** tab, and then click **Repo by URL** (right-most option). - [X] included getTotalCost
3. Paste the following URL in the first input:
[https://gitea.typename.fr/INSA/be-graphes.git](https://gitea.typename.fr/INSA/be-graphes.git)
4. Choose the name you want for the repository.
5. Click *Create project*.
6. Wait for completion... Done!
### Importing to another repository provider *[not recommended]*: - [X] Created LabelStar (inherits from Label)
- [X] (new) Attributes
- [X] crowCost
- [X] Methods
- [X] getTotalCost
1. Create a new **empty** repository (no README, no LICENSE) on your provider. Let's assume the URL of your repository is `$URL_REPOSITORY`. - [X] Modified Dijkstra (modularity)
2. Clone this repository somewhere:
```bash - [X] implemented A-Star
git clone https://gitea.typename.fr/INSA/be-graphes.git - [X] built upon Dijkstra with another Label type
```
3. Go inside the newly cloned repository and update the **remote**:
```bash - [X] More and More testing (see the video).
cd be-graphes
git remote set-url origin $URL_REPOSITORY
```
4. Push to your repository:
```bash
push -u origin master
```
Another way is to do a bare clone and then mirror it to your repository: [https://help.github.com/articles/importing-a-git-repository-using-the-command-line/](https://help.github.com/articles/importing-a-git-repository-using-the-command-line/)

View file

@ -4,9 +4,9 @@ On a une liste de liste et non une matrice. L'avantage est de prendre bien moins
## Diagram UML ## Diagram UML
Diagrame UML : <br> Diagrame UML : <br>
<img src="./UML1.png"> ![first UML diagram](UML1.png "Title")
## deuxieme diagram UML ## deuxieme diagram UML
Diagrame UML : <br> Diagrame UML : <br>
<img src="./UML2.png"> ![first UML diagram](UML2.png "Title")