Skip to content

Commit

Permalink
Added Booleans.lnot shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainhalle committed Sep 3, 2024
1 parent 8a67693 commit 5fc6552
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Core/src/ca/uqac/lif/cep/util/Booleans.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
BeepBeep, an event stream processor
Copyright (C) 2008-2023 Sylvain Hallé
Copyright (C) 2008-2024 Sylvain Hallé
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
Expand Down Expand Up @@ -82,6 +82,11 @@ public static FunctionTree lor(Function f1, Function f2)
{
return new FunctionTree(or, f1, f2);
}

public static FunctionTree lnot(Function f1)
{
return new FunctionTree(not, f1);
}

/**
* Implementation of the logical conjunction
Expand Down

0 comments on commit 5fc6552

Please sign in to comment.