Partitioning

data class Partitioning(val shared: String, val partitions: List<String>, val converted: Boolean = true, val catalog: String = shared)

A theory split for the workers of a distributed solver: each of them solves shared with one of partitions (theoryOf), all as Prolog text in the language of arg2p

Constructors

Link copied to clipboard
constructor(shared: String, partitions: List<String>, converted: Boolean = true, catalog: String = shared)

Properties

Link copied to clipboard

The theory of the catalog: its shared part, or the whole theory when it is not split

Link copied to clipboard

The rules of the partitions are those the theory converts to: the workers convert them no further

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun theoryOf(index: Int): String

The theory of the worker of the partition index: the conversions turned off if applied, whatever the profile of the theory presets