From a65bb1e444a69bceac3901cdce718f9ac45d5b53 Mon Sep 17 00:00:00 2001 From: Dimitris Mantas Date: Wed, 15 Jun 2022 12:45:16 +0300 Subject: [PATCH] Set up multiple branches This is basically a random commit to make sure Android Studio is working correctly. Changelist: - Renamed core.main.engine.utils.pq package to .priorityqueue. --- .../com/dimitrismantas/torch/core/main/engine/AStar.java | 7 +------ .../utils/{pq => priorityqueue}/PriorityQueueEntry.java | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) rename app/src/main/java/com/dimitrismantas/torch/core/main/engine/utils/{pq => priorityqueue}/PriorityQueueEntry.java (83%) diff --git a/app/src/main/java/com/dimitrismantas/torch/core/main/engine/AStar.java b/app/src/main/java/com/dimitrismantas/torch/core/main/engine/AStar.java index 9927ad6..cdb48d0 100644 --- a/app/src/main/java/com/dimitrismantas/torch/core/main/engine/AStar.java +++ b/app/src/main/java/com/dimitrismantas/torch/core/main/engine/AStar.java @@ -24,18 +24,13 @@ import com.dimitrismantas.torch.core.main.engine.utils.heuristics.GreatCircleDistanceHeuristic; import com.dimitrismantas.torch.core.main.engine.utils.heuristics.AbstractHeuristic; import com.dimitrismantas.torch.core.main.engine.utils.heuristics.TravelTimeHeuristic; -import com.dimitrismantas.torch.core.main.engine.utils.pq.PriorityQueueEntry; +import com.dimitrismantas.torch.core.main.engine.utils.priorityqueue.PriorityQueueEntry; import com.dimitrismantas.torch.core.utils.serialization.DeserializedEdge; import com.dimitrismantas.torch.core.utils.serialization.DeserializedGraph; import com.dimitrismantas.torch.core.utils.serialization.DeserializedVertex; import com.dimitrismantas.torch.core.utils.serialization.DeserializationManager; -import java.io.FileWriter; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; import java.util.Comparator; -import java.util.List; import java.util.PriorityQueue; public final class AStar { diff --git a/app/src/main/java/com/dimitrismantas/torch/core/main/engine/utils/pq/PriorityQueueEntry.java b/app/src/main/java/com/dimitrismantas/torch/core/main/engine/utils/priorityqueue/PriorityQueueEntry.java similarity index 83% rename from app/src/main/java/com/dimitrismantas/torch/core/main/engine/utils/pq/PriorityQueueEntry.java rename to app/src/main/java/com/dimitrismantas/torch/core/main/engine/utils/priorityqueue/PriorityQueueEntry.java index 1fe2e24..f0b5ec2 100644 --- a/app/src/main/java/com/dimitrismantas/torch/core/main/engine/utils/pq/PriorityQueueEntry.java +++ b/app/src/main/java/com/dimitrismantas/torch/core/main/engine/utils/priorityqueue/PriorityQueueEntry.java @@ -1,4 +1,4 @@ -package com.dimitrismantas.torch.core.main.engine.utils.pq; +package com.dimitrismantas.torch.core.main.engine.utils.priorityqueue; public class PriorityQueueEntry { private final int key;