Source code for jaclearn.logic.propositional.logic_induction

#! /usr/bin/env python3
# -*- coding: utf-8 -*-
# File   : __init__.py
# Author : Jiayuan Mao
# Email  : maojiayuan@gmail.com
# Date   : 04/16/2020
#
# This file is part of Jacinle.
# Distributed under terms of the MIT license.

from typing import Optional, Union, List
import numpy as np

from jacinle.jit.cext import auto_travis
auto_travis(__file__)

try:
    from .logic_induction import (
        search as csearch,
        LogicFormTypePy as LogicFormType,
        LogicFormOutputFormatPy as LogicFormOutputFormat
    )
except ImportError:
    auto_travis(__file__, force_recompile=True)
    from .logic_induction import (
        search as csearch,
        LogicFormTypePy as LogicFormType,
        LogicFormOutputFormatPy as LogicFormOutputFormat
    )

__all__ = ['search']