Opened 3 years ago

Closed 3 years ago

#2177 closed feature request (done)

Implement XOR symbol

Reported by: mkommend Owned by: mkommend
Priority: medium Milestone: HeuristicLab 3.3.10
Component: Problems.DataAnalysis.Symbolic Version: 3.3.9
Keywords: Cc:

Description

Currently only AND, OR and NOT are supported as boolean operators. Although XOR can be expressed as a combination of the previously stated, an explicit symbol might be beneficial.

Change History (11)

comment:1 Changed 3 years ago by mkommend

  • Status changed from new to accepted

comment:2 Changed 3 years ago by mkommend

  • Owner changed from mkommend to gkronber
  • Status changed from accepted to reviewing

r10774: Implemented XOR symbol and adapted the interpreters and grammars.

The IL-emitting interpreter was not adapted and thus doesn't understand the xor symbol.

comment:3 Changed 3 years ago by mkommend

  • Milestone changed from HeuristicLab 3.3.x Backlog to HeuristicLab 3.3.10

comment:4 Changed 3 years ago by mkommend

Implemented !XOR instead XOR.

comment:5 Changed 3 years ago by mkommend

r10788: Corrected evaluation of the xor symbol in the interpreters.

comment:6 Changed 3 years ago by mkommend

r10789: Adapted TypeCoherentGrammar to disable the xor symbol per default to guarantee backwards compatibility.

comment:7 Changed 3 years ago by mkommend

r10790: Added asserts for xor symbol in the interpreter evaluation test method.

comment:8 Changed 3 years ago by mkommend

r10791: Added xor support in the IL emitting interpreter.

comment:9 Changed 3 years ago by gkronber

  • Owner changed from gkronber to mkommend
  • Status changed from reviewing to readytorelease

Reviewed r10774 and r10788:10791

comment:10 Changed 3 years ago by mkommend

r10910: Merged r10774 and r10788:10791 into stable.

comment:11 Changed 3 years ago by mkommend

  • Resolution set to done
  • Status changed from readytorelease to closed
Note: See TracTickets for help on using tickets.