Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #101 from shubho/update_license
Browse files Browse the repository at this point in the history
Change License to BSD
  • Loading branch information
ericnakagawa authored Apr 26, 2018
2 parents 2e24e8d + 699b99c commit 6a769a0
Show file tree
Hide file tree
Showing 227 changed files with 876 additions and 437 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ BSD License

For ELF software

Copyright (c) 2016-present, Facebook, Inc. All rights reserved.
Copyright (c) 2017-present, Facebook, Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Expand Down
33 changes: 0 additions & 33 deletions PATENTS

This file was deleted.

5 changes: 2 additions & 3 deletions atari/atari_game.cc
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

//File: atari_game.cc
Expand Down
5 changes: 2 additions & 3 deletions atari/atari_game.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

//File: atari_game.h
Expand Down
5 changes: 2 additions & 3 deletions atari/atari_game_specific.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#pragma once
Expand Down
5 changes: 2 additions & 3 deletions atari/benchmark-ale.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

//File: benchmark-ale.cpp
Expand Down
5 changes: 2 additions & 3 deletions atari/benchmark-atari.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

//File: benchmark-atari.cpp
Expand Down
3 changes: 1 addition & 2 deletions atari/benchmark-atari.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
# LICENSE file in the root directory of this source tree.

#!/usr/bin/env python
# -*- coding: utf-8 -*-
Expand Down
3 changes: 1 addition & 2 deletions atari/benchmark-gym.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
# LICENSE file in the root directory of this source tree.

#!/usr/bin/env python
# -*- coding: utf-8 -*-
Expand Down
3 changes: 1 addition & 2 deletions atari/game.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
# LICENSE file in the root directory of this source tree.

#!/usr/bin/env python
# -*- coding: utf-8 -*-
Expand Down
5 changes: 2 additions & 3 deletions atari/game_context.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

//File: game_context.h
Expand Down
3 changes: 1 addition & 2 deletions atari/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
# LICENSE file in the root directory of this source tree.

from rlpytorch import Model, ActorCritic

Expand Down
5 changes: 2 additions & 3 deletions atari/python_wrapper.cc
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

//File: python_wrapper.cc
Expand Down
6 changes: 6 additions & 0 deletions check.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

from datetime import datetime

import sys
Expand Down
6 changes: 6 additions & 0 deletions df_console.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

# Console for DarkForest
import sys
import os
Expand Down
6 changes: 6 additions & 0 deletions df_selfplay.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

# Console for DarkForest
import sys
import os
Expand Down
6 changes: 6 additions & 0 deletions elf/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

from .utils_elf import GCWrapper
from .utils_elf import Batch
from .context_utils import ContextArgs
Expand Down
8 changes: 8 additions & 0 deletions elf/ai.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#pragma once
#include <vector>
#include <string>
Expand Down
8 changes: 8 additions & 0 deletions elf/ai_comm.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#pragma once
#include "common.h"

Expand Down
5 changes: 2 additions & 3 deletions elf/circular_queue.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#pragma once
Expand Down
5 changes: 2 additions & 3 deletions elf/collector.hh
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

//File: collector.hh
Expand Down
5 changes: 2 additions & 3 deletions elf/comm_template.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* LICENSE file in the root directory of this source tree.
*/

#pragma once
Expand Down
8 changes: 8 additions & 0 deletions elf/common.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#pragma once

struct SeqInfo {
Expand Down
3 changes: 1 addition & 2 deletions elf/context_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
# LICENSE file in the root directory of this source tree.

import os
import sys
Expand Down
8 changes: 0 additions & 8 deletions elf/ctpl_stl.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

/*********************************************************
*
Expand Down
8 changes: 8 additions & 0 deletions elf/game_base.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#pragma once
#include <vector>
#include <atomic>
Expand Down
8 changes: 8 additions & 0 deletions elf/hist.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#pragma once

#include <utility>
Expand Down
8 changes: 8 additions & 0 deletions elf/lib/debugutils.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#include <cstdlib>
#include <cstdio>
#include <cstring>
Expand Down
8 changes: 8 additions & 0 deletions elf/lib/strutils.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "strutils.hh"
#include "debugutils.hh"
#include <cstdarg>
Expand Down
8 changes: 8 additions & 0 deletions elf/mcts.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#pragma once
#include <vector>
#include <string>
Expand Down
8 changes: 8 additions & 0 deletions elf/member_check.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#pragma once

#include <type_traits>
Expand Down
6 changes: 6 additions & 0 deletions elf/more_labels.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

from rlpytorch import ArgsProvider

class MoreLabels:
Expand Down
Loading

0 comments on commit 6a769a0

Please sign in to comment.