#include "clause3.h"

This page has information from files clause3.h and clause3.c.

Contents


Public Routines in File clause3.c

Index

clause_member_plisthas_copy_justinput_clausesnonneg_clauses
copy_clause_ijahas_input_justintersect_clauseszap_clause_ija
copy_clauses_ijainitial_clausemax_clause_weightzap_clauses_ija

Details


Clause clause_member_plist(Plist p, Clause c);
Is a Clause a member of a Plist? A deep identity check is done (clause_ident).
Clause copy_clause_ija(Clause c);
Copy a clause, including ID, justification, and attributes. Do not call delete_clause() with clauses built this way, because if delete_clause() receives a clause with an ID, it assumes that clause is in the clause ID table. Use zap_clause_ija() instead.
Plist copy_clauses_ija(Plist p);
Copy a Plist of clauses. This does a deep copy, using copy_clause_ija().
BOOL has_copy_just(Clause c);
Does a clause have justtification "copy"?
BOOL has_input_just(Clause c);
Does a clause have justtification "input"?
BOOL initial_clause(Clause c);
Is (was) the clause part of the initial sos (after processing input clauses, before starting search)/
Plist input_clauses(Plist a);
Given a Plist of clauses, return the Plist of input clauses (in the same order).
Plist intersect_clauses(Plist a, Plist b);
Intersect 2 Plists of clauses. The order of the result is determined by the order of the first list. A deep identity check is done (clause_ident).
int max_clause_weight(Plist p);
Given a Plist of clauses, return the weight of the heaviest clause. The weight field of the clause is used.
Plist nonneg_clauses(Plist clauses);

void zap_clause_ija(Clause c);
Delete a clause that was created with copy_clause_ija().
void zap_clauses_ija(Plist p);
Delete (deep) a Pist of clauses.

Public Definitions in File clause3.h


Introduction


These activities are projects of the Mathematics and Computer Science Division of Argonne National Laboratory.