def get_network_type(self):
        network_type = self.grammar.parseString(self.network)
        return network_type['network_name']
Returns the type of network defined by the file.
dataset/ETHPy150Open pgmpy/pgmpy/pgmpy/readwrite/UAI.py/UAIReader.get_network_type