Skip to content

Commit

Permalink
Муравьиный алгоритм
Browse files Browse the repository at this point in the history
  • Loading branch information
Pastor committed Nov 30, 2024
1 parent 4792b36 commit f7860ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 42 deletions.
3 changes: 1 addition & 2 deletions vol5/src/main/java/ru/mifi/practice/vol5/graph/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@
import ru.mifi.practice.vol5.graph.algorithms.AntShortestPath;
import ru.mifi.practice.vol5.graph.algorithms.Base;
import ru.mifi.practice.vol5.graph.algorithms.DijkstraShortestPath;
import ru.mifi.practice.vol5.graph.loader.StandardLoader;
import ru.mifi.practice.vol5.graph.loader.StandardWeightLoader;

import java.io.IOException;
import java.util.Objects;

public abstract class Main {
public static void main(String[] args) throws IOException {
Graph<String, Integer> graph = new StandardLoader<String>()
Graph<String, Integer> graph = new StandardWeightLoader<String>()
.load(Objects.requireNonNull(Main.class.getResourceAsStream("/standard.graph")), s -> s);
var algorithms = new Base<String, Integer>();
System.out.print("DFS: ");
Expand Down

This file was deleted.

0 comments on commit f7860ec

Please sign in to comment.