Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
WCCL
Commits
a386407d
Commit
a386407d
authored
14 years ago
by
Adam Wardyński
Browse files
Options
Downloads
Patches
Plain Diff
Clarifying some comments regarding And predicate
parent
87aecbd6
Branches
Branches containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libwccl/ops/and.cpp
+1
-1
1 addition, 1 deletion
libwccl/ops/and.cpp
libwccl/ops/and.h
+6
-2
6 additions, 2 deletions
libwccl/ops/and.h
with
7 additions
and
3 deletions
libwccl/ops/and.cpp
+
1
−
1
View file @
a386407d
#include
"
and.h
"
#include
<libwccl/ops/
and.h
>
namespace
Wccl
{
...
...
This diff is collapsed.
Click to expand it.
libwccl/ops/and.h
+
6
−
2
View file @
a386407d
...
...
@@ -8,6 +8,9 @@
namespace
Wccl
{
/**
* Operator that realises "and" logical predicate
*/
class
And
:
public
LogicalPredicate
{
public:
...
...
@@ -20,8 +23,9 @@ protected :
typedef
FunctionBase
::
BaseRetValPtr
BaseRetValPtr
;
/**
* "And" predicate returns True only when all expressions are true,
* otherwise it returns False
* "And" predicate evaluates each expression from left to right,
* and returns False once an expression evaluating to False is found.
* If all expressions were True, it returns True.
*/
virtual
BaseRetValPtr
apply_internal
(
const
SentenceContext
&
)
const
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment