Quilt Loader 1
Loading...
Searching...
No Matches
org.quiltmc.loader.impl.solver.RuleSet Class Referenceabstract

A set of RuleDefinition and LoadOptions that can be solved. More...

Classes

class  InputRuleSet
class  ProcessedRuleSet
 A RuleSet where the input RuleDefinitions cannot be easily mapped back to the original Rules.

Public Member Functions

abstract boolean isFullySolved ()
Collection< LoadOptiongetConstantSolution ()
void getConstantSolution (Collection< LoadOption > dst)
abstract void forEachRule (Consumer< RuleDefinition > consumer)

Public Attributes

final Map< LoadOption, Boolean > constants
 LoadOptions which have already been "solved".
final Map< LoadOption, LoadOptionaliases
 Map of LoadOptions to "solvable" load options.
final Map< LoadOption, Integer > options
 Every LoadOption that needs to be solved, mapped to their weight.

Detailed Description

A set of RuleDefinition and LoadOptions that can be solved.

Member Data Documentation

◆ aliases

final Map<LoadOption, LoadOption> org.quiltmc.loader.impl.solver.RuleSet.aliases

Map of LoadOptions to "solvable" load options.

This means that all the keys will have the same solved value as their value.


The documentation for this class was generated from the following file:
  • src/main/java/org/quiltmc/loader/impl/solver/RuleSet.java