ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
sort.c File Reference
#include "internal.h"
#include "logging.h"
Include dependency graph for sort.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void kissat_sort_literals (kissat *solver, unsigned size, unsigned *lits)
 

Function Documentation

◆ kissat_sort_literals()

void kissat_sort_literals ( kissat * solver,
unsigned size,
unsigned * lits )

Definition at line 85 of file sort.c.

90 {
91#ifndef INLINE_SORT
92 const value *const values = solver->values;
93 const assigned *const assigned = solver->assigned;
94#endif
95 value u = move_smallest_literal_to_front (solver, values, assigned, false,
96 0, size, lits);
97 if (size > 2)
98 move_smallest_literal_to_front (solver, values, assigned, (u >= 0), 1,
99 size, lits);
100}
ABC_NAMESPACE_IMPL_START typedef signed char value
#define solver
Definition kitten.c:211
Here is the caller graph for this function: