sortedLinkedListAddReversed(final double time) {
if (time >= maxTime) {
linkedList.add(createEvent(time));
diff --git a/src/main/java/org/cloudsimplus/heuristics/CloudletToVmMappingSolutionBenchmark.java b/src/main/java/org/cloudsimplus/heuristics/CloudletToVmMappingSolutionBenchmark.java
index df2e0cf..7c2395c 100755
--- a/src/main/java/org/cloudsimplus/heuristics/CloudletToVmMappingSolutionBenchmark.java
+++ b/src/main/java/org/cloudsimplus/heuristics/CloudletToVmMappingSolutionBenchmark.java
@@ -31,11 +31,9 @@
import java.util.stream.IntStream;
-/**
- * A set of benchmarks for the {@link CloudletToVmMappingSolution} class.
- *
- * @author Manoel Campos da Silva Filho
- */
+/// A set of benchmarks for the [CloudletToVmMappingSolution] class.
+///
+/// @author Manoel Campos da Silva Filho
@BenchmarkMode({Mode.AverageTime, Mode.Throughput})
@State(Scope.Thread)
public class CloudletToVmMappingSolutionBenchmark {
@@ -80,15 +78,13 @@ public double testGetCostWhenFirstCall() {
return instance1.getCost(true);
}
- /**
- * The second time the getCost method is called
- * without changing Cloudlets to Vm's mapping,
- * the fitness will be the same and will not be computed again.
- * The first time the method is called is in the
- * {@link #doSetup()} method.
- *
- * @return the cost value
- */
+ /// The second time the getCost method is called
+ /// without changing Cloudlets to Vm's mapping,
+ /// the fitness will be the same and will not be computed again.
+ /// The first time the method is called is in the
+ /// [#doSetup()] method.
+ ///
+ /// @return the cost value
@Benchmark
public double testGetCostWhenSecondCall() {
return instance2.getCost();
diff --git a/src/main/java/org/cloudsimplus/heuristics/package-info.java b/src/main/java/org/cloudsimplus/heuristics/package-info.java
index 7d43352..a8ec2d0 100755
--- a/src/main/java/org/cloudsimplus/heuristics/package-info.java
+++ b/src/main/java/org/cloudsimplus/heuristics/package-info.java
@@ -1,11 +1,34 @@
-/**
- * A set of benchmarks created using the
- * JMH (Java Microbenchmark Harness framework)
- * to assess performance of CloudSim Plus features.
+/*
+ * CloudSim Plus: A modern, highly-extensible and easier-to-use Framework for
+ * Modeling and Simulation of Cloud Computing Infrastructures and Services.
+ * http://cloudsimplus.org
*
- * The main class that starts the benchmarks is the {@link org.cloudsimplus.benchmarks.Run}
.
- * @author Manoel Campos da Silva Filho
+ * Copyright (C) 2015-2021 Universidade da Beira Interior (UBI, Portugal) and
+ * the Instituto Federal de Educação Ciência e Tecnologia do Tocantins (IFTO, Brazil).
+ *
+ * This file is part of CloudSim Plus.
+ *
+ * CloudSim Plus is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * CloudSim Plus is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with CloudSim Plus. If not, see .
*/
+/// A set of benchmarks created using the
+/// [JMH (Java Microbenchmark Harness framework)](http://openjdk.java.net/projects/code-tools/jmh/)
+/// to assess performance of CloudSim Plus features.
+///
+/// The main class that starts the benchmarks is the [org.cloudsimplus.benchmarks.Run]
+///
+/// .
+/// @author Manoel Campos da Silva Filho
@NullMarked
package org.cloudsimplus.heuristics;