// SPDX-FileCopyrightText: 2020 Roberto Posenato // // SPDX-License-Identifier: LGPL-3.0-or-later package it.univr.di.labeledvalue; import it.unimi.dsi.fastutil.ints.IntSet; import it.unimi.dsi.fastutil.objects.*; import it.unimi.dsi.fastutil.objects.Object2IntMap.Entry; import javax.annotation.Nonnull; import java.io.Serial; import java.util.logging.Logger; /** * Simple implementation of {@link it.univr.di.labeledvalue.LabeledIntMap} interface without minimization. * This class is provided only to give an evidence that without minimization of labeled value sets, * any CSTN algorithm can be very slowly. * * @author Roberto Posenato * @version $Rev$ * @see LabeledIntMap */ @Deprecated public class LabeledIntSimpleMap extends AbstractLabeledIntMap { /** * A read-only view of an object * * @author posenato */ @Deprecated public static class LabeledIntNotMinMapView extends LabeledIntSimpleMap implements LabeledIntMapView { /** * */ @Serial private static final long serialVersionUID = 1L; /** * @param inputMap nope */ public LabeledIntNotMinMapView(LabeledIntSimpleMap inputMap) { mainMap = inputMap.mainMap; } } /** * */ @Serial static private final long serialVersionUID = 2L; /** * logger */ @SuppressWarnings("unused") static private final Logger LOG = Logger.getLogger("LabeledIntSimpleMap"); /** * @return an Object2IntMap<Label> object */ private static Object2IntMap