package net.cijber.pubgrub import net.cijber.pubgrub.packages.PackageSelection import net.cijber.pubgrub.stubs.PackageId import net.cijber.pubgrub.stubs.Version class Assignment
>( selection: PackageSelection
, exclusive: Boolean, val cause: Incompatibility
? = null, val decisionLevel: Int = 0, val index: Int = 0 ) : Term
(selection, exclusive) { val isDecision: Boolean get() = cause == null }