Negator
Table of Contents

Overview

This tool allows inverting a dataset, i.e. 1s are replaced by 0s, and 0s are replaced by 1s. The database to be inverted must be in RCF format.

Synopsis

Usage: ./pre06_negator.sh  [switches]  <database>

Parameters:
   <database>           the database to be inverted
                        must be in RCF format

Example

Command:

./pre06_negator.sh sample/laszlo.rcf

Output:

# Output format: inverted .rcf

[Relational Context]
Default Name
[Binary Relation]
Name_of_dataset
o1 | o2 | o3 | o4 | o5
~a | ~b | ~c | ~d | ~e
0 0 1 0 0
0 1 0 1 1
0 0 0 1 0
1 0 0 1 0
0 0 0 1 0
[END Relational Context]
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License