• Non ci sono risultati.

Grounding Options Output Options I-DLV Command-line Options Usage

N/A
N/A
Protected

Academic year: 2021

Condividi "Grounding Options Output Options I-DLV Command-line Options Usage"

Copied!
2
0
0

Testo completo

(1)

Usage

I-DLV can interoperates with the state-of-the-art solvers wasp and clasp. Indeed, by default I-DLV output is produced in a numeric format compliant with the mentioned solvers.

In order to interoperate with a solver type:

./idlv [filename [filename [...]]] | ./solver_executable

In order to obtain the ground program in textual format type:

./idlv --t [filename [filename [...]]]

Example:

./idlv program.dl | ./wasp

I-DLV Command-line Options

Output Options

--silent suppress the startup banner and blank lines.

--no-facts suppress the printing of EDB.

--output-format set the output format: 0=Numeric, 1=Textual.

--t print in textual mode.

--filter filter the specified predicates with the specified arity. Example: -- filter=p1/2,p2/3.

--print-rewriting print the rewritten program.

--query print the results of the input query.

Grounding Options

--check-edb-duplication if present, remove duplicate EDB.

--rewriting set the rewriting strategy to adopt for choice rules: 0: Native Rewriting (Default); 1: By means of disjunction.

--rewrite-arith-termsenable the rewriting of arithmetic terms into assignment built- in atoms.

--align-dictionaries enable the dictionaries alignment mechanism.

--ordering set the body ordering criterion:

o 0 = A basic ordering strategy that applies minor changes to the original ordering just to ensure a correct evaluation;

(2)

o 1 = DLV Combined Criterion, the ordering criterion applied in DLV (See http://dblp.org/rec/html/conf/lpnmr/LeonePS01);

o 2 = Combined+ Criterion (Default), a criterion that enhances the Combined one by considering comparisons;

o 3 = Functional Terms Criterion, a criterion that pushes literals with functional terms down in the body;

o 4 = Indexing Criterion, a strategy that tries to improve the quality of available indices;

o 5 = Backjumping Criterion, a criterion that works in synergy with backjumping procedure employed in the rule instantiation task in order to facilitate it;

o 6 = A Combination of criteria 4 and 5.

--no-isolated-filter disable the filtering mechanism of isolated variables.

--no-projection disable the projection rewriting of irrelevant variables.

--indexing set the indexing terms for the specified predicates. Example: -- indexing=p/3={0,1};p/2={1}.

--FC enable cautious reasoning.

--FB enable brave reasoning.

--no-MS disable the Magic Sets rewriting.

Statistics Options

--time print the grounding time of each rule.

--gstats display grounding statistics.

General Options

--help print this guide and exit.

--stdin read input from standard input.

Riferimenti

Documenti correlati

The climatic conditions inside the exhibition case are stable and the weight variation of the violin is limited. The main variations, both in relation to environmental

Independent data of energy fluxes from these sites are used to assess which of these methods leads to the most reliable results, and we discuss the limitations of these

CO stretching response to any solicitation causing electron charge rearrangement, be it the formation of a M–CO coordi- nation bond or the effect of an external electric eld, is

A relational external atom with m>0 output terms is defined by a Python function returning a sequence of m-sequences (i.e., each inner sequence must feature m values)... , u m

Although the single period model shown below does not seem realistic enough to be of any real use, it turns out that the multi-period binomial option pricing model is a very

In this paper, we look at the decoherence-free subspace issue from a mathematical point of view and study the following problem: given a quantum Markov semigroup on the algebra

We selected a panel of gene sets which can be considered bona-fide targets of the above-discussed main epigenetic pathways and intersected them with the set of genes,

Once you established that the Real Options approach can add value to the project, you can perform a Net Present Value calculation using the traditional Discounted Cash Flow method