コード例 #1
0
ファイル: tpid_recipes.py プロジェクト: nitetrain8/pbslib
def get_hot_start():
    """
    @return: Recipe for hot start
    @rtype: Recipe
    """
    new = Recipe()
    new.buffer = tpid_hot_start.buffer.copy()
    return new
コード例 #2
0
ファイル: tpid_recipes.py プロジェクト: nitetrain8/pbslib
def get_cool_start():
    """
    @return: long recipe's buffer list
    @rtype: list[str]
    """
    new = Recipe()
    new.buffer = tpid_cool_start.buffer.copy()
    return new