Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ The code consists of detecting and correcting errors in a sequence of bits
If more error-correcting bits are included with a message, and if those bits can be arranged such that different incorrect bits produce different error results, then bad bits could be identified. In a seven-bit message, there are seven possible single bit errors, so three error control bits could potentially specify not only that an error occurred but also which bit caused the error.
*From Wikipedia*

> Developed for the discipline "Organization and Architecture of Computers", of the course "Computer Science" at the Federal University of Campina Grande. 2018
> Developed for the discipline "Organization and Architecture of Computers", of the course "Computer Science" at the Federal University of Campina Grande (UFCG). 2018
6 changes: 5 additions & 1 deletion src/oac/hamming/BitSignal.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
package oac.hamming;

import java.util.Arrays;

/**
*
* @author Hericles
*
*/
public class BitSignal {

private int size;
Expand Down
6 changes: 6 additions & 0 deletions src/oac/hamming/Hamming.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
package oac.hamming;

/**
*
* @author Hericles
*
*/

public class Hamming {

private final String NL = "|" + System.lineSeparator();
Expand Down
4 changes: 4 additions & 0 deletions src/oac/hamming/Main.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package oac.hamming;

/**
*
*/

import java.util.Scanner;

public class Main {
Expand Down