All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.gitlab.chaver.mining.patterns.measure.pattern.MaxFreq Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
/*
 * This file is part of io.gitlab.chaver:data-mining (https://gitlab.com/chaver/data-mining)
 *
 * Copyright (c) 2022, IMT Atlantique
 *
 * Licensed under the MIT license.
 *
 * See LICENSE file in the project root for full license information.
 */
package io.gitlab.chaver.mining.patterns.measure.pattern;

import io.gitlab.chaver.mining.patterns.measure.Measure;

import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

/**
 * max(x.freq)
 */
public class MaxFreq extends PatternMeasure {

    @Override
    public String getId() {
        return "max(x.freq)";
    }

    @Override
    public Set maxConvert() {
        return Collections.unmodifiableSet(new HashSet<>());
    }

    @Override
    public Set minConvert() {
        return Collections.singleton(this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy