5 instantiations of Literal
System.Data.Entity (5)
System\Data\Common\Utils\Boolean\BoolExpr.cs (1)
303
Literal<T_Identifier> literal = new
Literal
<T_Identifier>(this, true);
System\Data\Common\Utils\Boolean\ConversionContext.cs (2)
89
Literal<T_Identifier> literal = new
Literal
<T_Identifier>(term, true);
185
var literal = new
Literal
<DomainConstraint<T_Variable, T_Element>>(
System\Data\Common\Utils\Boolean\IdentifierService.cs (2)
79
return new
Literal
<T_Identifier>(literal.Term, !literal.IsTermPositive);
101
return new
Literal
<DomainConstraint<T_Variable, T_Element>>(term, literal.IsTermPositive);
30 references to Literal
System.Data.Entity (30)
System\Data\Common\Utils\Boolean\BoolExpr.cs (2)
303
Literal
<T_Identifier> literal = new Literal<T_Identifier>(this, true);
305
Literal
<T_Identifier> negatedLiteral = literal.MakeNegated();
System\Data\Common\Utils\Boolean\Clause.cs (8)
26
private readonly Set<
Literal
<T_Identifier>> _literals;
34
protected Clause(Set<
Literal
<T_Identifier>> literals, ExprType treeType)
44
internal Set<
Literal
<T_Identifier>> Literals
50
private static BoolExpr<T_Identifier> ConvertLiteralsToExpr(Set<
Literal
<T_Identifier>> literals, ExprType treeType)
56
new Func<
Literal
<T_Identifier>, BoolExpr<T_Identifier>>(ConvertLiteralToExpression));
69
private static BoolExpr<T_Identifier> ConvertLiteralToExpression(
Literal
<T_Identifier> literal)
115
internal DnfClause(Set<
Literal
<T_Identifier>> literals)
148
internal CnfClause(Set<
Literal
<T_Identifier>> literals)
System\Data\Common\Utils\Boolean\ConversionContext.cs (4)
48
internal readonly
Literal
<T_Identifier> Literal;
50
internal LiteralVertexPair(Vertex vertex,
Literal
<T_Identifier> literal)
89
Literal
<T_Identifier> literal = new Literal<T_Identifier>(term, true);
185
var
literal = new Literal<DomainConstraint<T_Variable, T_Element>>(
System\Data\Common\Utils\Boolean\Converter.cs (6)
103
var emptyClause = new DnfClause<T_Identifier>(Set<
Literal
<T_Identifier>>.Empty);
111
var emptyClause = new CnfClause<T_Identifier>(Set<
Literal
<T_Identifier>>.Empty);
123
Set<
Literal
<T_Identifier>> path = new Set<
Literal
<T_Identifier>>();
134
Set<
Literal
<T_Identifier>> path)
145
var clause = new CnfClause<T_Identifier>(new Set<
Literal
<T_Identifier>>(path.Select(l => l.MakeNegated())));
System\Data\Common\Utils\Boolean\IdentifierService.cs (6)
61
internal abstract
Literal
<T_Identifier> NegateLiteral(
Literal
<T_Identifier> literal);
76
internal override
Literal
<T_Identifier> NegateLiteral(
Literal
<T_Identifier> literal)
95
internal override
Literal
<DomainConstraint<T_Variable, T_Element>> NegateLiteral(
Literal
<DomainConstraint<T_Variable, T_Element>> literal)
System\Data\Common\Utils\Boolean\Literal.cs (4)
30
IEquatable<
Literal
<T_Identifier>>
68
internal
Literal
<T_Identifier> MakeNegated()
83
return Equals(obj as
Literal
<T_Identifier>);
86
public bool Equals(
Literal
<T_Identifier> other)