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

fr.laas.fape.constraints.bindings.VarWithEmptyDomain Maven / Gradle / Ivy

There is a newer version: 1.0.4+2-16d3c71b
Show newest version
package fr.laas.fape.constraints.bindings;

import fr.laas.fape.anml.model.concrete.VarRef;

import java.util.List;
import java.util.stream.Collectors;

public class VarWithEmptyDomain extends InconsistentBindingConstraintNetwork {

    private final List varsWithEmptyDomains;
    public VarWithEmptyDomain(List varsWithEmptyDomains) {
        this.varsWithEmptyDomains = varsWithEmptyDomains;
    }

    public String toString() { return "Inconsistent binding constraints: the following vars have an empty domain: "+
            varsWithEmptyDomains.stream().map(x -> x.label()).collect(Collectors.toList()); }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy