Skip to content

Commit

Permalink
Remove some author tags for anonymity
Browse files Browse the repository at this point in the history
  • Loading branch information
lsk567 committed Nov 19, 2024
1 parent b9301df commit b4b0b8e
Show file tree
Hide file tree
Showing 60 changed files with 66 additions and 66 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Mock the CancelIndicator interface for testing.
*
* @author Erling Jellum
*
*/
public class MockCancelIndicator implements CancelIndicator {
@Override
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/org/lflang/AttributeUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
/**
* A helper class for processing attributes in the AST.
*
* @author Shaokai Lin
*
* @author Clément Fournier
* @author Alexander Schulz-Rosengarten
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Modeled after {@link AbstractParseTreeVisitor}.
*
* @author Shaokai Lin
*
*/
public abstract class AbstractAstVisitor<T> implements AstVisitor<T> {

Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/org/lflang/analyses/c/AstUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* A utility class for C ASTs
*
* @author Shaokai Lin
*
*/
public class AstUtils {

Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/org/lflang/analyses/c/AstVisitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Modeled after ParseTreeVisitor.class
*
* @author Shaokai Lin
*
*/
public interface AstVisitor<T> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* This visitor class builds an AST from the parse tree of a C program
*
* @author Shaokai Lin
*
*/
public class BuildAstParseTreeVisitor extends CBaseVisitor<CAst.AstNode> {

Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/org/lflang/analyses/c/CAst.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* C AST class that contains definitions for AST nodes
*
* @author Shaokai Lin
*
*/
public class CAst {

Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/org/lflang/analyses/c/CAstVisitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Modeled after CVisitor.java
*
* @author Shaokai Lin
*
*/
public interface CAstVisitor<T> extends AstVisitor<T> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* A base class that provides default implementations of the visit functions. Other C AST visitors
* extend this class.
*
* @author Shaokai Lin
*
*/
public class CBaseAstVisitor<T> extends AbstractAstVisitor<T> implements CAstVisitor<T> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* A visitor class that translates a C AST in If Normal Form to Uclid5 code
*
* @author Shaokai Lin
*
*/
public class CToUclidVisitor extends CBaseAstVisitor<String> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
* <p>In this program, visit() is the normalise() in the paper.
*
* @author Shaokai Lin
*
*/
public class IfNormalFormAstVisitor extends CBaseAstVisitor<Void> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* This visitor marks certain variable node as "previous."
*
* @author Shaokai Lin
*
*/
public class VariablePrecedenceVisitor extends CBaseAstVisitor<Void> {

Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/org/lflang/analyses/c/Visitable.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* An interface for Visitable classes, used for AST nodes.
*
* @author Shaokai Lin
*
*/
public interface Visitable {

Expand Down
4 changes: 2 additions & 2 deletions core/src/main/java/org/lflang/analyses/dag/Dag.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
/**
* Class representing a Directed Acyclic Graph (Dag), useful for the static scheduling.
*
* @author Chadlia Jerad
* @author Shaokai Lin
*
*
*/
public class Dag {

Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/org/lflang/analyses/dag/DagEdge.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Class defining a Dag edge.
*
* @author Shaokai Lin
*
*/
public class DagEdge {
/** The source DAG node */
Expand Down
4 changes: 2 additions & 2 deletions core/src/main/java/org/lflang/analyses/dag/DagGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@
*
* <p>=========================================
*
* @author Chadlia Jerad
* @author Shaokai Lin
*
*
*/
public class DagGenerator {

Expand Down
4 changes: 2 additions & 2 deletions core/src/main/java/org/lflang/analyses/dag/DagNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
*
* <p>FIXME: Create subclasses for ReactionNode and SyncNode
*
* @author Chadlia Jerad
* @author Shaokai Lin
*
*
*/
public class DagNode implements Comparable<DagNode> {
/** Different node types of the DAG */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* A helper class defining a pair of DAG nodes
*
* @author Shaokai Lin
*
*/
public class DagNodePair {
public DagNode key;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
* A generator that generates PRET VM programs from DAGs. It also acts as a linker that piece
* together multiple PRET VM object files.
*
* @author Shaokai Lin
*
*/
public class InstructionGenerator {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* Class defining a PRET VM executable
*
* @author Shaokai Lin
*
*/
public class PretVmExecutable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* A memory label of an instruction, similar to the one in RISC-V
*
* @author Shaokai Lin
*
*/
public class PretVmLabel {
/** Pointer to an instruction */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* A PretVM Object File is a list of list of instructions, each list of which is for a worker. The
* object file also contains a state space fragment and a partitioned DAG for this fragment.
*
* @author Shaokai Lin
*
*/
public class PretVmObjectFile extends PretVmExecutable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* Abstract class defining a PRET virtual machine instruction
*
* @author Shaokai Lin
*
*/
public abstract class Instruction<T1, T2, T3> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* Class defining the ADD instruction
*
* @author Shaokai Lin
*
*/
public class InstructionADD extends Instruction<Register, Register, Register> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* Class defining the ADDI instruction
*
* @author Shaokai Lin
*
*/
public class InstructionADDI extends Instruction<Register, Register, Long> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Class defining the BEQ instruction
*
* @author Shaokai Lin
*
*/
public class InstructionBEQ extends InstructionBranchBase {
public InstructionBEQ(Register rs1, Register rs2, Object label) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Class defining the BGE instruction
*
* @author Shaokai Lin
*
*/
public class InstructionBGE extends InstructionBranchBase {
public InstructionBGE(Register rs1, Register rs2, Object label) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Class defining the BLT instruction
*
* @author Shaokai Lin
*
*/
public class InstructionBLT extends InstructionBranchBase {
public InstructionBLT(Register rs1, Register rs2, Object label) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Class defining the BNE instruction
*
* @author Shaokai Lin
*
*/
public class InstructionBNE extends InstructionBranchBase {
public InstructionBNE(Register rs1, Register rs2, Object label) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* A base class for branch instructions. According to the RISC-V specifications, the operands can
* only be registers.
*
* @author Shaokai Lin
*
*/
public abstract class InstructionBranchBase extends Instruction<Register, Register, Object> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* Class defining the DU instruction. An worker delays until baseTime + offset.
*
* @author Shaokai Lin
*
*/
public class InstructionDU extends Instruction<Register, Long, Object> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* Class defining the EXE instruction
*
* @author Shaokai Lin
*
*/
public class InstructionEXE extends Instruction<Register, Register, Integer> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* Class defining the JAL instruction
*
* @author Shaokai Lin
*
*/
public class InstructionJAL extends Instruction<Register, Object, Integer> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* Class defining the JALR instruction
*
* @author Shaokai Lin
*
*/
public class InstructionJALR extends Instruction<Register, Register, Long> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Class defining the STP instruction
*
* @author Shaokai Lin
*
*/
public class InstructionSTP extends Instruction<Object, Object, Object> {
public InstructionSTP() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* Class defining the WLT instruction
*
* @author Shaokai Lin
*
*/
public class InstructionWLT extends Instruction<Register, Long, Object> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* Class defining the WU instruction
*
* @author Shaokai Lin
*
*/
public class InstructionWU extends Instruction<Register, Long, Object> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* dependencies have been installed, `egs.py` is added to the PATH variable, and there is a
* pretrained model located at `models/pretrained` under the same directory as `egs.py`.
*
* @author Chadlia Jerad
* @author Shaokai Lin
*
*
*/
public class EgsScheduler implements StaticScheduler {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* A simple static scheduler that split work evenly among workers
*
* @author Shaokai Lin
*
*/
public class LoadBalancedScheduler implements StaticScheduler {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
/**
* An external static scheduler using the `mocasin` tool
*
* @author Shaokai Lin
*
*/
public class MocasinScheduler implements StaticScheduler {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* Interface for static scheduler
*
* @author Shaokai Lin
*
*/
public interface StaticScheduler {
public Dag partitionDag(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* A utility class for static scheduler-related methods
*
* @author Shaokai Lin
*
*/
public class StaticSchedulerUtils {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* A node in the state space diagram representing a step in the execution of an LF program.
*
* @author Shaokai Lin
*
*/
public class Event implements Comparable<Event> {

Expand Down
Loading

0 comments on commit b4b0b8e

Please sign in to comment.